Antidepressants are a class of medications used to treat major depressive disorder, anxiety disorders, chronic pain, and addiction. Common side effects of antidepressants include dry mouth, weight gain, dizziness, headaches, sexual dysfunction, and emotional blunting.