Could I be having preterm labor?

So tmi but I’ve had diarrhea for the past couple of days but today it’s been the worst. I’ve had to use the bathroom at least 7 times 😭. Also I’m just feeling very icky. really lightheaded & Almost like I’m sick. I have nausea and really bad heartburn. Could this mean labor is coming soon? I’m only 31 weeks and I’m so scared.