Sertraline is used to treat depression, obsessive-compulsive disorder, panic disorder, anxiety disorders, post-traumatic stress disorder (PTSD), and premenstrual dysphoric disorder (PMDD). You should not use sertraline if you also take pimozide, or if you are being treated with methylene blue injection. Do not use sertraline if you have taken an MAO inhibitor in the past 14 days. A dangerous drug interaction could occur.