Feeling down over my weight gain 😞 (pics included)

I started nursing school last year and I also started taking antidepressants. I had a drastic weight gain of 40 lbs in less than a year. My waist and thighs are full of stretch marks and my family has been making comments. I wear sweatpants and tshirts because my nice clothes don’t fit me anymore. I’m feeling down and I feel like I’ve lost my self-esteem.

First picture is me now. Second was me last year 😓 I don’t know how to lose the weight I’ve gained. I find it harder than I thought.