It might be because of Fissure that is.. a small cut due to straining during passing stool. It occurs when you are constipated
Next Steps
Consult a surgeon/proctologist for examination and treatment
Health Tips
Drink lots of water to keep yourself hydrated
Consume fibre equally to prevent constipation.