Compulsion to scratch groin

Dear doctor; I have got a problem that is becoming a menace to me. I just cannot understand why I keep  scratching my private parts especially when I am in public. I always find myself spontaneously doing it and at times, I only get to know that I am doing it when a colleague rebukes me. What can I do to stop this because it is so disturbing?
no image
Times Reporter