Hello and welcome to HCM.
Thank you for your query.
According to your description a diagnosis can be made only after a physical examination of the protruding mass, but the most likely condition could be hemorrhoids (internal). Let me help by listing a few other symptoms of internal hemorrhoids
-Bleeding after a bowel movement (bright red blood)
-Itching around the anus
-Burning sensation after bowel movement
-Difficulty in passing stool (feel like you are constipated)
and a few others.
In my opinion, you should consult a doctor at the earliest, and in the meantime, do not strain while passing a bowel movement.
I hope I have succeeded in providing the information you were looking for. Please feel free to write back to me for any further clarifications. I would gladly help you.