Diarrhea....sign of labor?

Ive been having diarrhea all day today I'm 36 weeks also i have been getting cramps that come and go not sure if they are contractions or what but they def hurt at times.