Hello/ From your description, it seems you are suffering from bleeding piles. Apply Cremagel 2% gel locally around anus after every passage of stool or at least twice daily for 15 days. Hope this helps.
Next Steps
If the problem persists, contact a general surgeon or colo-rectal surgeon for opinion.