First, talk to your doctor about your symptoms. Your doctor should do an exam to make sure that another physical problem isn't causing the symptoms. The doctor may refer you to a mental health specialist.
OCD is generally treated with psychotherapy, medication, or both.
Psychotherapy. A type of psychotherapy called cognitive behavior therapy is especially useful for treating OCD. It teaches a person different ways of thinking, behaving, and reacting to situations that help him or her feel less anxious or fearful without having obsessive thoughts or acting compulsively. One type of therapy called exposure and response prevention is especially helpful in reducing compulsive behaviors in OCD.
Medication. Doctors also 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.
Some people with OCD do better with cognitive behavior therapy, especially exposure and response prevention. Others do better with medication. Still others do best with a combination of the two. Talk with your doctor about the best treatment for you.