Hi,
It may be due to anal fissure. Which can be managed with dietary modification and treatment.
There could be various other reasons for it, a detailed history may help in guiding you better.
Next Steps
You may consult me directly using chat now option to discuss further.