Repetitive behaviors or rituals (such as hand washing or counting) that one feels compelled to do because it helps to make them feel less anxious/nervous or because they believe they can prevent negative events through this behavior.
ICD10 Stereotyped behaviours that are repeated again and again. They are not inherently enjoyable, nor do they result in the completion of inherently useful tasks.