Changing the Temperature of a reversible reaction
If the temperature is increased, the equilibrium position moves in the direction of the endothermic process.
For example, in the Haber process:
N2(g) + 3H2(g) ⇌ 2NH3(g) (forward reaction is exothermic)
If the forward reaction is exothermic, the backward reaction must be endothermic. Therefore, if the temperature is increased, the equilibrium position moves in the endothermic direction (to the left) to reduce the temperature. This means that less ammonia (NH3) will be produced.