Compulsions are strong urges to do specific actions repeatedly to reduce anxiety or discomfort or to push out obsessive thoughts. For example, someone might feel the need to wash their hands many times or check if the door is locked over and over. These actions are often done to feel safe or to prevent something bad from happening, even if the actions aren’t necessary.