obsessive-compulsive disorder

A disorder characterized by intrusive, persistent thoughts or fears (obsessions) that are temporarily relieved by the performance of repetitive behaviors (compulsions) that may bear no particular relationship to the thought or perception.