I don't suffer from insomnia very often and so I don't have a lot of strategies for dealing with it. I've tried solving the world's problems, but that drives me crazy and is better dealt with when I'm pulling weeds. Don't like to count sheep, I always lose track which wakes me up more. Can't toss and turn, that wakes Mac up, and though he's understanding he often threatens to tie me down.
I finally discovered that redecorating the house, room by room, is so boring that it usually puts me right to sleep. Don't know why, when I'm awake it's something I enjoy doing, and in a house this size there's always room for improvement, but at night it's a real snooze fest. Go figure.