OCD is a symptom, or a collection of symptoms, mostly due to unfelt pain. Unfelt pain often manifests as anxiety and one of the most common sources of anxiety is an attachment dis-order. If we don't bond early on with our mothers/caregivers we won't feel safe, comforted, loved and secure. In the experiment below, we can see the powerful effects that a strong attachment can provide.
It's very important to honour the defenses or rituals someone has created for themselves in order to feel safe and comforted. Shaming and criticising doesn't work, it often drives the person deeper into anxiety and shame which then needs to be relieved in whatever way they have found works for them. See if any tailenders (objections in the form of emotions, beliefs, thoughts, memories, sensations) come up when you say the following:
I honour my need to feel comforted
I honour how I am meeting my unmet needs
I accept my need to repeat ... to feel safe
I choose to feel kindness for my need for (name the need, or needs, that you feel most strongly right now)
My behaviours/rituals make me feel ...
Doing ... makes me feel very safe and that feels good
Ritual is the passage way of the soul into the Infinite ~ Algernon Blackwood