← Blog

OCD and Trying to Cancel Out a Bad Thought

· 4 min read · Published Nov 27, 2026

OCD and Trying to Cancel Out a Bad Thought
4 min read 5 min listen Computer-generated voice

A safe word in your head, a smiling face pictured just right, repeated until it feels undone. When a thought feels like it needs fixing, signs to watch and how treatment for OCD helps.

A thought flashes up about someone you love getting hurt. You do not want it, and you do not believe it means anything, but you cannot leave it there. So you say a word in your head that feels safe, or picture their face smiling, or think the thought again "the right way." If it does not feel undone, you repeat it until it does. It can happen dozens of times a day, and no one around you sees a thing.

When a thought feels like it needs fixing

The National Institute of Mental Health (NIMH) explains that in obsessive-compulsive disorder (OCD), obsessions are unwanted thoughts, urges or images that keep coming back, and compulsions are repeated actions a person feels driven to do, often to quiet an obsession. Saying a "good" word or picturing a safe image to undo an unwanted thought is our example of a compulsion that happens in the mind, not an item from the NIMH list. NIMH also points out that a repeated habit is not always a compulsion. Obsessive-compulsive disorder is a DSM-5-TR diagnosis, and a qualified clinician makes it.

Signs it may be more than a passing worry

  • Undoing thoughts and the worry behind them fill more than an hour of your day, a marker NIMH uses.
  • The relief lasts only until the next unwanted thought arrives.
  • You avoid people, words or places that seem to set off the thoughts.
  • You can see the undoing goes too far and still feel you cannot stop; NIMH notes that many adults with OCD recognize this.

Small experiments while you wait for care

  • Name it: "That is an unwanted thought, not a wish or a plan."
  • Delay the undoing by a few minutes and notice what the discomfort does on its own.
  • Let one thought stay as it is, without a fix, and go back to what you were doing.
  • Jot down how often you undo for a week, to bring to a first visit.

These are practice ideas, not a treatment plan. Read intrusive thoughts and when they point to OCD, everyday worry or generalized anxiety disorder and how anxiety treatment works.

Need to Talk to Someone?

In-person in West Ashley or telehealth statewide across South Carolina.

Book Appointment

Treatment

NIMH describes cognitive behavioral therapy (CBT) as a common treatment for OCD and names a form of it, exposure and response prevention (ERP), as an effective way to cut down on compulsions. NIMH adds that many people with OCD also live with an anxiety or mood disorder. Medication, when indicated, is decided jointly with you.

Care at Hope Behavioral Medicine

We see adults in person in West Ashley and by secure video anywhere in South Carolina. For OCD, a psychiatric nurse practitioner or therapist can use CBT with exposure elements or exposure-based therapy, or refer out to an ERP specialist when that fits better. If you are looking for a particular approach, ask us when you call and we will tell you what we can offer.

Read about anxiety care by video and counseling in West Ashley, or request an appointment.

If doubt and distress ever bring thoughts of suicide, call or text 988 at any hour. If anyone is in immediate danger, call 911 or go to the nearest emergency room.

Sources: NIMH, Obsessive-Compulsive Disorder (revised 2023); American Psychiatric Association, DSM-5-TR (obsessive-compulsive disorder).

This article is general information, not medical advice, and does not create a patient–provider relationship. Every situation is different, so see a provider who can evaluate yours and develop a plan of care. Any medication discussed here may not be right for you: the right choice depends on your diagnoses, other health conditions and current medicines, so take medication only as directed by the provider managing your care. If you are ever in doubt about an emergency, call 911 or go to the nearest emergency room.

Frequently Asked Questions

Published by Hope Behavioral Medicine

How we write and review our health articles

Have Questions About This Topic?

Schedule a visit in West Ashley or via telehealth statewide.

Accepting new patients. Access to care matters for many conditions we manage, so we reserve provider time every week for new-patient visits. Seeing new patients quickly is a top priority.

Stay Informed

Get new articles from Hope Behavioral Medicine delivered to your inbox.

We respect your privacy. Unsubscribe anytime.