Take A step Back:
Not literally of course, but take a step back and look at your life from a different perspective. Once you look at it from a different angle that bad day doesn't seem so awful after all.
Remember That It's Temporary:
This bad day will not last the rest of your life, things do eventually get better. Just give it a little time and see how the outcome is after that.
Don't Stress:
We all tend to stress about the little things, so ask yourself next time is this going to matter in a week, or even a month. If not then it is not worth your time to stress over.
Try To Find a Solution:
Clearly if you're having a bad day you have a problem in your life so try to fix the problem. Come up with a solution to minimize the problem or even better clear it up completely.
Remember There's A Plan:
Everything we do in life has a meaning to it. There is a over all plan that we do not know about, just remember that bad day is just a step close to the over all picture.