Temperature is measured by delta H, if it is negative, the reaction is exothermic, and it releases energy. However if the delta H is positive, the reaction is endothermic, meaning that energy must be absorbed. In order to let the equation be in equilibrium, heat must be added as a substance either on the reactant part or the product part, depending if it's endothermic or exothermic.