The transfer of heat is always hot --> cold. (Laws of Thermodynamics)
Fast(Hot) atoms collide with Slow(Cool) atoms and the energy of the molecules will spread around. How it travels specifically may differ from one solution/substance to another and there are factors to consider as well. (Temp)