This question can only be answered with Le Chatelier's principle...
What is Le Chatelier's principle? 'If a system in dynamic equilibrium experiences a change, the equilibrium will shift to oppose that change'. So if the forward reaction is exothermic, and the energy of the system increases, the equilibrium will shift in the endothermic direction to oppose the change. The opposite is true when the energy of the system is decreased.