OCD rituals are intended to control anxiety, but may end up controlling the child.
By National Institute of Mental Health
Obsessive-Compulsive Disorder, OCD, is an anxiety disorder and is characterized by recurrent, unwanted thoughts (obsessions) and/or repetitive behaviors (compulsions). Repetitive behaviors such as handwashing, counting, checking, or cleaning are often performed with the hope of preventing obsessive thoughts or making them go away. Performing these so-called "rituals," however, provides only temporary relief, and not performing them markedly increases anxiety.
People with obsessive-compulsive disorder (OCD) have persistent, upsetting thoughts (obsessions) and use rituals (compulsions) to control the anxiety these thoughts produce. They may be obsessed with germs or dirt, and wash their hands over and over. They may be filled with doubt and feel the need to check things repeatedly. Most of the time, the rituals end up controlling them.
For example, if people are obsessed with germs or dirt, they may develop a compulsion to wash their hands over and over again. If they develop an obsession with intruders, they may lock and relock their doors many times before going to bed. Being afraid of social embarrassment may prompt people with OCD to comb their hair compulsively in front of a mirror-sometimes they get "caught" in the mirror and can't move away from it. Performing such rituals is not pleasurable. At best, it produces temporary relief from the anxiety created by obsessive thoughts.
Other common rituals are a need to repeatedly check things, touch things (especially in a particular sequence), or count things. Some common obsessions include having frequent thoughts of violence and harming loved ones, persistently thinking about performing sexual acts the person dislikes, or having thoughts that are prohibited by religious beliefs. People with OCD may also be preoccupied with order and symmetry, have difficulty throwing things out (so they accumulate), or hoard unneeded items.
Healthy people also have rituals, such as checking to see if the stove is off several times before leaving the house. The difference is that people with OCD perform their rituals even though doing so interferes with daily life and they find the repetition distressing. Although most adults with OCD recognize that what they are doing is senseless, some adults and most children may not realize that their behavior is out of the ordinary.