Hi, that small fleshy mass protruding out of the anus could most probably be something called Haemorrhoids ('Piles' in lay terminology). It is not an alarming ailment per-se however can be very painful and most worrisome can be if it bleeds. The condition needs a surgical consult ASAP and remedy which may involve either a medical management or surgical correction. Medically it can be treated by avoiding constipation
(dietary control involving roughage containing food and plenty of fluids plus medications for stool softening) and by doing the Sitz bath. The other conditions could be: rectal polyp
, anorectal fistula, anal warts
or some benign growth etc. You definitely need to consult your surgeon for the definitive diagnosis and management!!