This is highly suggestive of Obsessive Compulsive Disorder. OCD can be treated both by medications, as well as, Psychotherapy. The choice is a matter of personal preference and of course depends on the available resources.
Next Steps
Consult a Psychiatrist for proper diagnosis and treatment