Meds might help your present chemical situation but they're not going to change the mental ruts & habits your brain has formed (eg. I'm stressed, I want a cookie/beer/etc. I made a mistake, I'm so stupid).
Therapy can help you understand and notice those patterns, why they formed, and what you can do to gradually correct them, but you'll have a hard time if you're going uphill against your brain chemistry.
This book really helped give me a framework for understanding the exercise part of it: https://www.amazon.com/Power-Full-Engagement-Managing-Perfor...
And of course, like physical pain, in some situations mental illness is a signal the body is sending that something in life isn't right. I've had some serious depressive episodes evaporate as soon as I broke off a toxic relationship (personal or professional).
Happy to chat more in private if you want.
I think you have to be fully engaged in any activity you are making. If you want to relax, relax in a full paced way. Not worrying about the work you have to make.
If you must work, work in a fast-paced way, and make the job done.
The worst kind of works is the one multi-tasked. You dont get in a 'flow' state that is necessary for the most jobs people here in hacker news makes.
Two books are very good in the matter, The power of full engagement http://amzn.to/vdS1Tc and Flow http://amzn.to/t2bed6
http://amzn.to/nrwKnf (all links have my affiliate link. On my way to richness baby! ;)
I'm currently reading this one, so far so good:
Moonwalking with Einstein: The Art and Science of Remembering Everything
This is a small list of books I want to read:
The Secret Life of Pronouns: What Our Words Say About Us
Willpower: Rediscovering the Greatest Human Strength
Do More Faster: TechStars Lessons to Accelerate Your Startup
The Social Animal: The Hidden Sources of Love, Character, and Achievement
The Power of Full Engagement: Managing Energy, Not Time, Is the Key to High Performance and Personal Renewal
The Upside of Irrationality: The Unexpected Benefits of Defying Logic at Work and at Home
Get dozens of book recommendations delivered straight to your inbox every Thursday.