This cycle of thoughts and behaviors is a hallmark of OCD. We encourage you to read the section on Obsessive-Compulsive Disorder.