I was depressed for years. Tried about fifteen different antidepressant and anxiety medications over the years. They don't work for me. I've made plans to kill myself and tried once. Turned to illicit drugs. Got worse, ended up committed etc etc. 
         I needed a purpose I  believed in, I had to learn to do things my body and mind are screaming at me to avoid. I had to learn to stay in the moment and do the next best thing. Take time every day for reflection and checking yourself. I take ashwaganda supplements which help greatly and I experiment with other nootropics like racetams which help you but 100 percent the thing that I know I need to do every day to stay mentally healthy is stay physical healthy. I need to get exercise. That was my magic pill. If you're reading this in bed get up, stretch, do some jumping jacks, go for a walk, find a workout video you like on YouTube. If you are disabled you have to do what you can. Anything with your body and your mind. Learn something new. Depression is lack of purpose and mine is too stay healthy and find more positive goals.