Amodium I.e. Imodium is given only in dire emergency as it controls frequency of diarrhea very fast but does not take care of the casuative source of infection.
Multiple episodes of diarrhea also cause irritation to perianal skin n can lead to blood in stools.
Next Steps
you need to consult a surgeon
Health Tips
u need to get yourself evaluated properly to rule out inflammatory bowel disease if there are multiple similar episodes