Your symptoms looks like fissure. Pain and difficulty in passing stools.
Treatment :
Syrup cremaffin ( free passage of motion)
Sitz bath ( relieve pain )
Take fibre rich foods ( will make the stool soft and easy to pass)
Avoid spicy and oily foods ( helps in reducing the burning sensation )
Drink plenty of water and eat lot of fruits.
Next Steps
1. if still not responding consult a physician and start taking oral medicines also or suppository.
2. if there is any mass / flesh like swelling / passage of blood consult a general surgeon.
Health Tips
fissure tends to recurr. diet plays a very important role in preventing recurrence .