Question: how to prevent gaining weight on zoloft?
Answer: Be mindful of your diet. Ask your doctor to refer you to a nutritionist who can help you figure out what your goal weight should be and what sorts of changes you need to make to your eating style to get there. ... 
Move more. ... 
Switch meds.