Answer:
Then answer to your question is as follows:
You must repent sincerely to Allah for whatever you did in the past. And also you have to consult a knowledgeable and experienced doctor or hakeem for the treatment of the same without any delay. May Allah help you to get rid of this kind of acts.
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband
