Anyone who ever lost their mojo (confidence, happiness, go get them attitude, day to day rhythm, etc) over a stressful life situation(s) what helped you get your preferred self back?

I mean if something that happened to you ever made you a shell of your former self, what things specifically helped you pull yourself out of that hole, or are you still working on it?