Well, the clue is in the name endo = into, exo = out of, thermic = heat (basically).
Thus endothermic takes in energy from its surroundings (making it colder), and endothermic expells energy into its surroundings (making it warmer) - easy peasy
(And it's been about 7 years since I did chemistry

)