I really wish there were a “silver bullet” answer, but alas. Have struggled with anxiety since I can remember, and depression started at about nine years old, though I wouldn’t have the vocabulary to describe it until I was a teenager. Was diagnosed with major depressive disorder, and generalized anxiety at 18. A lot of the advice here (e.g. making a schedule, short term goals, meditation) is genuinely great, but for long periods I couldn’t find the motivation to do things I knew abstractly would make me feel better. One thing I’d add, if you’ve already been willing to go the medication route, it took me about 5 years of trial and error with dozens of medications to find the right ones for managing. There are so many options, and so many subtleties and nuances between right and wrong for a specific person. Not sure from your writing if you’ve given only one, a handful, or a lot a shot, but for me, doing some research, finding medications that seemed different from things I had tried before, and consulting with my doctor about them actually gave me a small sense of control over my life that had been difficult to find before then.
Beyond that, for me, a lot of what worked was consistently looking for new ways to understand myself and what I was experiencing. The early days were a lot of just doing research, looking at forum threads, just building a better vocabulary I guess. Definitely stick with therapy, as others have emphasized, but in my experience, beyond the difficulty of finding the right person, I had to learn how to actually benefit from a session. Not sure how common an experience that is, but for me it was a process of learning how to be honest with myself, without being judgmental. Particularly difficult if you’re sort of locked into a negative thought cycle about yourself, but you can get there (if you need to).
One last thing, and I think this should be slightly minimized compared to the other pieces of advice, but there could, possibly, be other factors involved you’re not aware of. I was diagnosed with high functioning autism at 23, which if you’re not aware is highly co-morbid with anxiety and depression. I think this kind of thing most likely only occurs for a vanishingly small number of people with anxiety and depression, and since there is no medication specifically designed to mitigate autism, it has really just informed/contextualized my approach to therapy and medication. The takeaway from my experience, from my point of view, is that looking for new ways to think about or contextualize your thoughts and experiences, whether those ways are research or just self-examination, can be extremely positive, regardless of whether or not you “fit” a particular diagnosis.
Always remember that it is a process, not an event. As long as you keep doing things like posting here, continuing therapy and medication, basically actively participating in the process even when it seems like nothing will work, you can get to a place where you feel like you’re managing. All the best, sincerely.