Depression has a wide range of impact on people.  Some can work with it.  Some cannot function at all outside a controlled environment.  So for depression, it is very important to treat and follow your doctors’ orders, particularly for medication.  If, despite medication, your depression symptoms such as bipolar disorder persist, it may be time to consult a disability lawyer about filing a claim for Social Security benefits.