You need to be examined by a general surgeon
to be done to find out what exactly it is, if it is a fissure
then keep your stool soft by taking plenty of fluids orally and high fibre diet
even you can take syp cremaffin
3 to 6 tsf hs, use ointment lox
anally before defecation and ointment nitrogesic
anally qid for 6 months.