Stopping OCD compulsions isn’t about willpower or simply deciding not to do them. It requires retraining your brain’s response to anxiety through a structured process called Exposure and Response Prevention (ERP), which works for 60% to 85% of people who complete it. The core idea is straightforward: you deliberately face the thought or situation that triggers your anxiety, then resist performing the compulsion. Over time, your brain learns that the anxiety fades on its own without the ritual.
Why Compulsions Are So Hard to Stop
Compulsions persist because they work in the short term. When an intrusive thought creates a spike of anxiety, performing the ritual (checking the lock, washing your hands, mentally reviewing an event) brings immediate relief. That relief reinforces the cycle. Your brain registers the compulsion as the thing that kept you safe, even though the feared outcome was never going to happen in the first place.
This is why “just stop doing it” doesn’t work. Each time you complete a compulsion, you strengthen the connection between the obsessive thought and the ritual. The anxiety feels unbearable precisely because you’ve never let yourself sit with it long enough to discover it passes. Breaking the cycle means tolerating that discomfort deliberately, in a controlled way, until your nervous system recalibrates.
How ERP Retrains Your Brain
ERP is the gold-standard treatment for OCD compulsions. It has two components. The “exposure” part means confronting the trigger, either in real life or through imagination. The “response prevention” part means not performing the compulsion afterward. When you do this repeatedly, your brain gradually learns two things: the anxiety will fade without the ritual, and the feared outcome doesn’t happen.
This process isn’t random. You work with a therapist to build what’s sometimes called a fear ladder: a ranked list of triggering situations from least to most distressing. You start with exposures that feel manageable and work your way up. Someone with contamination OCD, for example, might begin by touching a doorknob and waiting 10 minutes before washing their hands, then progress to touching a public surface and not washing at all.
The key is that you choose the pace. You’re not thrown into your worst fear on day one. Each step builds confidence and tolerance for the next. As you move up the ladder, situations that once felt impossible start to feel routine.
What Response Prevention Looks Like in Practice
During an exposure, the urge to perform your compulsion will feel intense. That’s expected. Response prevention means sitting with that urge instead of acting on it. The anxiety typically peaks and then gradually decreases on its own, a process called habituation. Most people are surprised by how quickly this happens once they actually allow it.
Some practical approaches that help during high-anxiety moments:
- Delaying the compulsion. If fully resisting feels impossible at first, set a timer. Wait 5 minutes, then 10, then 20. Many people find the urge weakens significantly during the delay.
- Shortening or modifying the ritual. If you normally check the stove 8 times, check it once. This isn’t the end goal, but it starts loosening the compulsion’s grip.
- Labeling the thought. Acknowledge it as an OCD thought rather than a fact. “That’s my OCD telling me I need to check” creates a small but important distance between you and the urge.
- Staying in the situation. Avoidance is a compulsion too. If your OCD makes you leave rooms, avoid certain people, or skip activities, staying present is itself an exposure.
Separating Thoughts From Actions
A concept from Acceptance and Commitment Therapy (ACT) can be especially useful alongside ERP. The idea is simple: what you think and feel is not the same as what you do. Obsessions and compulsions feel welded together, as if having the thought automatically requires the ritual. But they’re actually separate events. You can have an intrusive thought and choose not to act on it.
ACT doesn’t ask you to fight or suppress the obsessive thought. Instead, it shifts your relationship to the thought. Rather than treating “what if the door is unlocked” as a command you must obey, you notice it, acknowledge it exists, and redirect your attention to whatever you were doing. The thought doesn’t go away immediately, and it doesn’t need to. What matters is that you didn’t let it dictate your behavior. Over time, thoughts that aren’t reinforced by compulsions lose their urgency.
When Medication Helps
For many people, therapy alone is enough. But when compulsions are severe or when anxiety is too overwhelming to engage in ERP effectively, medication can lower the baseline enough to make the work possible. The medications most commonly used for OCD are a class of antidepressants that increase serotonin activity in the brain.
The timeline matters here. Unlike their effect on depression, these medications take longer to work for OCD. Noticeable benefit usually begins around 6 to 8 weeks, and a full trial requires 10 to 12 weeks at the highest dose you can comfortably tolerate. If you start medication and feel nothing after a month, that’s normal. Dosages for OCD also tend to be higher than those used for depression, so your prescriber will likely increase your dose in weekly steps until you reach an effective level.
Medication alone reduces compulsions for many people, but combining it with ERP produces stronger and more lasting results. The medication takes the edge off the anxiety; the therapy teaches your brain a new response.
Building a Fear Ladder
If you’re working with a therapist, they’ll help you construct this. If you’re starting on your own, the process looks like this:
- List your triggers. Write down every situation, thought, or sensation that sets off your compulsions. Be specific. Not just “contamination” but “touching the gas pump handle” or “shaking hands with someone.”
- Rate each one. Use a 0 to 10 scale for how much distress each trigger causes. This is subjective and personal.
- Order them. Arrange them from lowest distress to highest. This is your ladder.
- Start at the bottom. Pick an exposure rated around 3 or 4. Practice it repeatedly until your distress rating drops, then move to the next item.
You can customize your ladder as you go. Some items become less scary before you formally practice them, simply because working on lower items builds general tolerance. Others may need to be broken into smaller steps. The structure is flexible, but the principle stays the same: face the trigger, skip the ritual, let the anxiety resolve itself.
Using Apps as a Supplement
Digital tools can support the process between therapy sessions. The app nOCD, for example, has been studied in combination with a shortened in-person ERP program. In an 8-week trial, 42% of participants met criteria for a meaningful treatment response using a hybrid approach of 3 to 5 in-person sessions plus weekly phone calls supported by the app. These results are more modest than traditional full-course ERP, but for people with limited access to specialized therapists, app-guided practice can fill gaps.
What apps do well is provide structure for tracking exposures, logging anxiety levels, and maintaining consistency. What they can’t replace is a trained therapist who can spot avoidance patterns you don’t notice yourself and push you toward harder exposures at the right time.
Preventing Relapse After Treatment
OCD is a chronic condition. Even after successful treatment, compulsions can resurface during periods of stress, illness, or major life changes. The goal isn’t to eliminate OCD forever but to have a reliable set of tools you use for the rest of your life.
Four strategies help keep progress intact. First, continue doing planned exposures even after formal treatment ends. Think of it like exercise: stopping entirely causes your tolerance to weaken. Second, build general stress management into your routine, because OCD exploits stress. Sleep, physical activity, and social connection all buffer against flare-ups.
Third, learn your personal warning signs. For some people, it’s disrupted sleep. For others, it’s a creeping return of avoidance behaviors or a stronger-than-usual urge to ritualize. Recognizing these early gives you a window to intervene before the cycle fully reestablishes itself. Fourth, have a specific action plan for when you notice those signs: which ERP exercises you’ll return to, how you’ll structure your days, and who you’ll contact for support. Clinicians who treat OCD emphasize making these strategies a way of life rather than something you only use during active treatment.

