Hi,
it's a kind of psychological issue which makes you to do things repeatedly.we usually say this as obsessive compulsive behaviour.you need to consult a Counselling psychologist for further management.if the problem is out of control then can consult a psychiatrist for medications.
Counselling, talk therapy,meditation and relaxing techniques will help you a lot along with medicines
Next Steps
Don't be panic. it's curable with few repeated counselling sessions.consult psychologist as soon as possible.
Health Tips
further guidance you can mail me at maxwellrehabcenter@ gmail.com