Do you know anyone with obsessive compulsive disorder where they need to do actions repeatedly?
Not personally, but I've heard about it.  Do you have it?
Obsessive–compulsive disorder
Obsessive–compulsive disorder (OCD) is a mental disorder in which a person feels the need to perform certain routines repeatedly (called "compulsions"), or has certain thoughts repeatedly (called "obsessions"). The person is unable to control either the thoughts or activities for more than a short period of time. Common compulsions include hand washing, counting of things, and checking to see if a door is locked. Some may have difficulty throwing things out. These activities occur to such
person can also describe obsessional doubt, with intrusive worries about whether they have made the wrong decision, or forgotten to do something, for example turn off the gas or lock the house. In obsessive-compulsive disorder, the individual experiences obsessions with or without compulsions (a sense of having to carry out certain ritualized and senseless actions against their wishes).
Domains Thought content Phobias.
A phobia is "a dread of an object or situation that does not in reality pose any threat", and is distinct from a delusion