Certain medications, including antidepressants, antipsychotics, and steroids, can lead to weight gain as a side effect. If you suspect that your medication is affecting your weight, discuss alternative treatments with your healthcare provider. Never stop taking prescribed medication without consulting a doctor.