Zoloft is used to treat depression, panic disorder and social anxiety disorder. Used as part of a treatment program that includes psychological, can you get generic xenical educational and social interventions along with medication this type of drug has been found effective in almost 50% of patients diagnosed with depression.