Most likely, you could be having either a skin tag or an external hemorrhoids which would need a detailed clinical examination for confirmation.
Do you have any other associated symptoms of Bleeding while passing stool/ fever/ pain during passing stools ?
Next Steps
You should ensure sufficient amount of fluids and water in your diet and take a high fiber diet rich in green vegetables which will help with the constipation.