Have you seen a psychiatrist? MDs aren't really trained to deal with mental illness, which could be an underlying condition (and isn't something to be ashamed of). They don't really monitor you for your response to medications to treat those conditions in the way a psychiatrist does. The psychiatrist will be paying attention to that and that alone, and will have a better sense of what to do if things are not working out, or worse, if you're going the opposite direction.
I had family doctors prescribe antidepressants, and things went into a scary place before I got to a psychiatrist. It still took a few months, but a medication change out of antidepressants turned things around. If you're medication is being prescribed by a general practitioner, perhaps ask to be referred to a specialist.
Think of it this way. If you develop a heart condition, you go to see a cardiologist. Because MDs can't keep up on how to fully treat hearts. They have too many balls to juggle as it is. The harder problems (pulmonary, neurological, cancer, etc.) need to go to people who work in that area alone.
A heart is a pretty simple organ. It's a pump. A brain is an insanely complex organ. It's a supercomputer. Yet while we're likely to get bumped up to a cardiologist if there appears to be a heart condition, it seems like being referred to a psychiatrist for what appear to be problems lodged in the the brain is far less common. Personally I see this a shortcoming in general medical care. Seeing a specialist for mental disorders can be hugely beneficial. If you haven't done this yet, its worth trying.
Yes I have and what they have put me on has given me severe panic attacks it has helped depression but now the panic attacks have me isolated as bad as when I was depressed and I’m just been told to stick with the medication but I’m being going through it months