Its different for everyone I suspect, and I often wonder if you ever really get 100% ‘cured’ of depression, but this article sums things up pretty well for some of what the past 6 and a bit years involved for me personally.
http://www.smashingmagazine.com/2014/10/27/you-are-not-a-machine-you-are-not-alone/