Thanks for writing your query.
After reading your post, I would advise that you should get yourself clinically examined and investigated. Constipation
and hard stools can result in anal fissure
and hemorrhoids, , which may bleed on applying pressure during defecation.
Doing Sitz bath can be helpful to you.
Eat fibre rich foods to avoid constipation.
Also drink lots of water daily.
Further medical management can be planned after a clinical evaluation.
I hope this is helpful to you.