If a reaction is exothermic and temperature in one direction, it will be endothermic in the other direction to counter balance.
When reversable reaction is in a closed container, it reaches dynamic equilibrium.
Le Chatelier's principle states that if an equilibrium reaction takes place within a closed system, the position of equilibrium will change to counteract any change in conditions.
If there are more moles on the left, the pressure will increase in the right as there are less moles there.
If concentration is increased on the left, the reaction shifts away to move to right.