Tmi but need answers or any help

Okay so im 26 weeks and 5 days pregnant an ive been up since 12pm yesterday and i started to have cramps around 1:01am then again at 1:11am then again at 4:10am and i keep going back and forth to the bathroom with diarrhea is that normal or should i be worried ?