If u didn't have constipation then blood in stool is unlikely due to piles. But still piles Fissure etc re Possible. Other rectal colonic or intestinal causes are possible. Haemorrhoids diagnosis confirmation, staging, evaluation and treatment planning. needs rectal examination.
Next Steps
diet can help control all digestive problems. plant based diet is the ideal diet.
Health Tips
DIARRHOEA for so long needs proper evaluation and treatment. IBS IBD etc need to be ruled out.