Medication for OCD
Doctors may prescribe medication to help treat OCD. The most commonly prescribed medications for OCD are anti-anxiety medications and antidepressants. Anti-anxiety medications are powerful and there are different types. Many types begin working right away, but they generally should not be taken for long periods.
Antidepressants are used to treat depression, but they are also particularly helpful for OCD, probably more so than anti-anxiety medications. They may take several weeks—10 to 12 weeks for some—to start working. Some of these medications may cause side effects such as headache, nausea, or difficulty sleeping. These side effects are usually not a problem for most people, especially if the dose starts off low and is increased slowly over time. Talk to your doctor about any side effects you may have.
It's important to know that although antidepressants can be safe and effective for many people, they may be risky for some, especially children, teens, and young adults. A "black box"—the most serious type of warning that a prescription drug can have—has been added to the labels of antidepressant medications. These labels warn people that antidepressants may cause some people to have suicidal thoughts or make suicide attempts. Anyone taking antidepressants should be monitored closely, especially when they first start treatment with medications.
OCD usually responds well to treatment with certain medications and/or exposure-based psychotherapy, in which people face situations that cause fear or anxiety and become less sensitive (desensitized) to them. Significant research indicates that there is a high chance of symptom relapse once medication is discontinued, whereas this is not the case with cognitive behavioral therapy.
This information courtesy of NIH.