Hello! Thanks for putting your query in HCM. I am a Gastroenterologist (DM).
You should get a sigmoidoscopy
examination to see what is happening inside. Either you are suffering from hemorrhoids or inflammatory bowel disease
or anal fissure
Meanwhile keep your stool soft by taking some laxative and psyllium
I hope I have answered your query and this will help you. Remain in touch and get-well soon.