When I seem to lose motivation, I drive down to a place near public transportation terminals, ones with huge number of walking traffic. I just sit in one place or in my parked car and observe all the people around. I see people walking down to terminals, all dressed in their office / job uniforms, and all sorts of people from all walks of life. You get to see their daily life, going to and from work with smiles on their faces or at least not unhappy and then you realize that they are contented with their current life and working everyday.
Then ponder on your own life and see that it's all about your will power, positivity and how you handle yourself. Everybody can get depressed. It is the number one cause of loss of motivation.
BUT... if you attract positivity and try to remember that everyone has their own problems to solve, you should then realize that life is actually just fair and square. A problem, big or small is still called a problem. It just depends how you react to your problems.
Going on vacation helps too. Fly abroad, or to some tourist destinations and relax and get to meet new people too.