It’s looking like skin tag (sentinel pile) which occurs due to fissure and not pile .Anal fissure occurs due to passing hard stool or straining while passing stool.
Get examined by general surgeon and surgeon will advise further treatment like ointment and Sitz bath , if you have constipation then use syrup for that as advised by doctor
Next Steps
Get examined by general surgeon
Health Tips
Mostly it’s skin tag due to anal fissure , take high fiber diet. ,plenty of fluid to prevent constipation