When in these moods, re-read posts that have helped you in the past. Re-read the passage by Elizabeth Edwards, about wasting time moaning and groaning and wishing for the past.
The past is history, the future is unknown, today is the only gift you have. That's why it's called the present.