The reaction is reversible so a compromise must be made.
Conditions such as the temperature can affect the rate of reaction.
The conditions of the Haber process affect yield.
Increasing pressure, increases yield.
Increasing temperature, increases the rate of reaction.
The equilibrium lies further to the right at a higher pressure.