A lot of the time, what is diagnosed as depression is actually a very valid reaction to being in a shitty situation. I myself ended up at a psychiatrist due to being stuck in a shitty job with me being too exhausted and anxious to do anything about it. What eventually 'cured' me wasn't any of the sessions with the shrink but being laid off in a company restructuring with a nice severance package that allowed me to take a couple of months to decompress and look for a job that was a better fit.