Obsessive-compulsive disorder is a chronic mental disorder in which a person has uncontrollable and repeating thoughts, repeated behaviours, or both.