While, it sounds silly, it gives good insight for changing your thoughts.
You can try some of these things, but I understand that it's different when you're suffering from depression and not a negative outlook.