For me, to get good sleep, I need to have a surprising amount of exercise during the day and have tried hard at something so that I'm mentally tired. That plus not eating any calories at all for the 4 hours before bed and I'm pretty guaranteed to get good sleep.
To sleep, use white noise/rhythmic music/soothing voice
To climb a mountain, tell yourself that my next goal is to just reach that particular rock about 100 metres higher
In the gym, make a friend and chat and joke with them while doing your exercises
While sprinting, divide 32 by 13 to many decimal places, as Joey from Friends once suggested.