I had suicidal depression. I still deal with it. Have panic attacks once in awhile, not a big deal.
A big part of why it's under control now, is I went to see a medical doctor, got diagnosed and given a cure. Beyond that I've started studying Traditional Asian Medicine and found a good all around blend I take daily.
For panic attacks, I workout regularly. If a panic attack comes on, I focus on what is really around me to come out it. It is weird though. I usually just feel like I'm in a dream suddenly and nothing is real. It really isn't that bad. Got coping skills.