Cognitive behavioral therapy is one of the most effective ways to stave off depression. Meds are less effetive, believe it or not.
If you're deep into severe depression, electroshock therapy also works.