compulsion

An often repetitive and uncontrollable urge to perform an act against one’s conscious wishes. There is often considerable anxiety before the act and temporary relief afterwards.