In this note I introduce some techniques to treat systems in contact with (stochastic) thermal baths. The methods and the level of rigour are those of theoretical physics.