Sert kills good gut bacteria

I could be wrong, but I think this stuff (sertraline) kinda kills your good bacterial in your gut. I gained 35 lbs in a year on Zoloft. I got off and still couldn’t lose weight. Like not even a pound even tho I was eating right and working out . I started taking a good probiotic and suddenly I was losing weight. I’m now down 20 lbs. Getting my gut health together helped me a little. Try adding probiotics or even just cottage cheese, yogurt, kimchi etc