I have to put my two cents in here.
I have dealt with depression and anxiety for almost 15 years. Some of it is heredity and some of it was life belting me in the head and taking me down. I highly recommend medication when you have no idea why you’re in a dark room, crying and sad. That is a chemical imbalance. But when your life has been flushed down the toilet, by abuse, death, loss, loneliness, ok all the yucky words. You really need therapy to find and learn how to cope with and deal with those issues. I highly recommend therapy. I personally had some things happen to me and I carried it around with me and in secret for 28 years and after therapy for a year I’m off my medication and deal with life a lot better. Purging the bad out of your life helps. If there is any way possible, Figure out your triggers and avoid them.