Many people with obsessive–compulsive disorder act in a certain way to stop the obsessive thought. These specific actions are known as compulsions. To someone with obsessive–compulsive disorder, doing these compulsions are a way to stop the obsessive thought. They may also think that doing the compulsion will stop something bad from happening to them or someone they care about. 