You should get checked and examined by a surgeon near you as it can be haemorrhoids
if there is loose motion also then it may be dysentery( colon infection)
Next Steps
avoid constipation by taking salads and curd
Health Tips
if persists more than 7 days then consult a nearby surgeon or you can consult me online