Obsessive-compulsive disorder (OCD) is a common mental disorder. It affects children, adolescents, and adults. A person with OCD has unwanted and upsetting thoughts, images, or urges—obsessions—or repetitive actions or mental acts—compulsions. There are many treatment options to manage OCD.