This could be due to a number of conditions like fissures, or piles. The main underlying reason for all these problems is constipation.
Next Steps
You will need an examination by a general aurgeon
Health Tips
Please increase fibre and fluid intake in diet to avoid constipation and related problems