Stomach cramps at 31 weeks?

So I’m 31 weeks and my stomach has been hurting off and on for a few days now and I’m having diarrhea/more bm. I already lost my mucous plug too. Does this mean labor could be near? I’m really hoping not cuz I don’t want to have him this early :(