Clomipramine (Anafranil) for adults and children 10 years and older. Fluoxetine (Prozac) for adults and children 7 years and older. Fluvoxamine for adults and children 8 years and older. Paroxetine (Paxil, Pexeva) for adults only. Sertraline (Zoloft) for adults and children 6 years and older. There is no single medication that helps with obsessive thoughts, as different medications work for different people. However, some drugs that have been shown to be effective in treating obsessive thoughts include antidepressants, antipsychotics, and mood stabilizers. Some people find that medication helps lessen the frequency and intensity of their thoughts, while others find that it reduces their overall anxiety levels. It is important to speak with a mental health professional about which medication is best for you, as each person responds differently to different medications.