TMI Bloody diarrhea

Today I had diarrhea and towards the end of it, the last two times I went, it was all blood.  Thoughts on what could've caused it?  My stomach aches like I have a stomach bug.