I seriously wonder if OCD could be is created because of our lifestyle in society. Yesterday I went to a coffeeshop (creamery in SF) and there was this crazy bathroom where I had to scan a QR code to get in. The door automatically opened, I walked in, and it automatically closed behind me. When I washed my hands, the water faucet detects motion and it has a built in air dryer as well. When I'm done, I pushed a button…
Extreme hygiene isn't good for your immune system. With exposure, you build up a higher tolerance. If I use too much soap, I get acne. Hygiene is ultimately a balance. There's no such thing as clean or dirty. Those are made up extreme definitions in our head to act upon. However it is a spectrum, an equilibrium. And if you kill all your good bacteria and remove all your sebum you damage that ecosystem.
To tackle OCD, you need to get to the root of the problem first. Understand why it is happening (stress/anxiety related but how exactly?). As with any personality disorder this is best done under the guidance of a professional.
Example though: if I sit in public transport, I frequently check if I got my wallet, phone, keys, etc. but there's a very good reason for that. Mugging is high in Amsterdam, and I tend to lose things. But sometimes I check too often, and then I tell myself I'm overreacting. I can also very much recommend mindfulness. I do guided sessions in public transport and it makes me calm when I arrive at my destination. To be fair, I don't have OCD; I have autism. My partner as well, and she's way more anal about hygiene, sometimes getting close to OCD-esque symptoms. I got something similar with using keys to close doors but again there's a very good reason for that. I've had my key in my door (external) for a night, I've left my door open for a night, I left my bicycle with key on street, I lost my keys multiple times, and I've forgot to lock my doors countless of times.
BTW, those build-in airdryers? They blow bacteria through the air, on your clean hands. More dirty than a paper towel you throw away afterwards (and either isn't dangerous).