Depression/Anxiety meds

So I started a new depression/anxiety medicine about a year ago now. I started it last July I think and at that time I weighed 155. I weighed 155 for like 3 years, even through my freshman year of college. I went to the doctor in January and found out that in 6 months I gained 40 pounds. I weigh 193 now. I feel like shit and I can’t lose weight. I’m gonna go to the doctor and hopefully try another med but I don’t think that I can handle weighing this much for long. I feel horrible about myself...