I personally find jacking off to be a good technique. Makes me relaxed for a while, making falling asleep easy, plus it makes the dick cease to be so hard.

Hot milk I don't know about, though. I usually have to limit liquid intake alot before going to bed, or I will be unable to sleep due to having to pee.