This could be hemorrhoids i.e. piles or a fissure.
Next Steps
please see a general surgeon who will examine and determine which one it is and advice treatment accordingly
Health Tips
Don't delay treatment. Avoid constipation by consuming diet high in fibre and fluids