Sertraline (Zoloft) is a prescription medication indicated for the treatment of major depressive disorder and panic disorder in adults. Learn about side effects. Zoloft (sertraline generic) is a prescription drug used to treat depression, obsessive-compulsive disorder, panic disorder, PTSD, social anxiety disorder, and. Dec 28, Sertraline is an antidepressant in a group of drugs called selective serotonin reuptake inhibitors (SSRIs). Sertraline affects chemicals in the brain that may be unbalanced in people with depression, panic, anxiety, or obsessive-compulsive symptoms. Sertraline is used to treat.