Upset Stomach (TMI)

So today I should be 5+2 days and diarrhea has hit full on. I was casually driving home from class when it hit me I was still around 15 mins from my house. I really didn’t think I was gonna make it. Is this typical around this time? I am having some mild cramping but really no where near like period cramps.