Sertraline was shown to be effective as a treatment for major depressive disorder and other anxiety-related disorders in clinical trials lasting 6-12 weeks. Consult with your healthcare provider if you do not think your condition is getting better.