What is the source of your dissatisfaction? For example, are you down in the dumps about:
1) The actual job? i.e. The job duties are no longer suitable?
2) The company for which you work? Don't see it really scucceeding in doing whatever it does in the near to medium term?
3) Your boss? Is your boss an asshole or just unsupportive of what you do?
4) Pay - if you suddenly were paid an extra $10K per year for whatever it is you do, would your happiness increase to the point where life is good again?
Once you really start focussing on what's wrong, you can take action. For example, if it's a pay issue you can walk up to your boss and ask for more $$$. Your boss will naturally ask why and you'll have to justify it to him / her. If your job duties no longer turn your crank, find a new job with new challenges. Look within your company but if that doesn't work, look externally. But at least start within your own comapny and again, ask your boss for guidance.
Whatever you do, don't just sit there and stew. Look to the source of your unhappiness and do something about it. Talk to your boss about it too if that's feasible - chances are your boss might not understand the depth of your despair and therefore hasn't done anything about it.
And whenever you're having a particularly shitty moment, always remember that somewhere out there, someone is much worse off than you are. As bad as things may seem, they could be worse. If you can just hang on a little bit longer, things will get better for you.