Temperature: Exothermic reaction= energy given out to surroundings. Endothermic reaction= energy taken in from surroundings.
If say a reaction runs at 300 degrees and we increase the temperature to 500 degrees the endothermic reaction will be favoured, and energy will be absorbed as we want to bring back original conditions (300 degrees). If the say a reaction runs at 300 degrees and the process is cooled to 200 degrees, the exothermic reaction will be favoured as the system wants to release energy to the surroundings to bring back original conditions (In this case 300 degrees). Note: In what way the exothermic and endothermic arrows point will be dependent on the reaction. E.g forward reaction can be exothermic or endothermic, likewise for backwards arrow!