Hello, the symptoms you have described are those of a fissure.Looks like you have an anal fissure
which is a cut in the anal canal
ant it is responsible for your symptoms
I would advise psyllium husk with water as a stool softner along with xylocaine
ointment for local application.
I would also suggest sitting in a tub of lukewarm water twice a day as it will help in healing of the fissure.
I would however suggest that you visit your doctor for a rectal examination
to confirm that it is a fissure
Dr Samir Patil