Good use of your Ego
When things get tough, I use to switch to my warrior mode: I imagine myself like an ancient warrior and see every problem like a death-match requiring all my strength, courage and stoicism. Every setback is a strike that I must endure. Every obstacle is a test of my will. Every pain is just a mean to harden my soul. In this mode, the harder it becomes the stronger I feel.