Hello! Thanks for putting your query in HCM. I am a Gastroenterologist (DM).
It may be a anal fissure
for which I will like to advise:
1. Soften your stool with lots of fibres(may be psyllium
fibres) and liquid in your diet. If this does not make your stool soft then add a laxative also.
2.Don't strain while defecation
3.Use local ointment containing diltizem and apply it on anal verge before and after defecation
4. Sitz bath
I hope I have answered your query and this will help you. Remain in touch and get-well soon.