How to learn statistical mechanics