A forced positive attitude. Look around you, find one thing that is a good thing in your life. Sit on that until it makes you smile. Do that over and over.
Realize it will get better. You don't know when but it will get better.
Help someone. Helping another will get your mind off of your worries, and will remind you that some have it better and also worse than you.