Diarrhea at 37 weeks

2:30am woke up with the worsttttt cramps then diarrhea. TMI but I don’t think I’ve ever lost that much from my stomach at once before....got nauseous after and now I sit here wondering did I eat something bad or are we starting early labor process.