I have things like this. I have major compulsions that required medication to get under control, but I still do things like take ages just to write a single message because I have to type and re-type (and re-type and re-type). I have to check my sent messages probably a dozen times to make sure I said exactly what I intended to say.
Just curious, if you consciously don't let yourself do these things, does it cause significant anxiety? One method of treatment is very purposefully NOT carrying out our compulsions, and just sitting with the discomfort it causes us, because our brains can be rewired over time to no longer associate our compulsions with relief. I've had some success with this for some compulsions (I've stopped carrying them out) but I'm still working on it with others.