Possible stomach bug or early labor 36.4 weeks

Diana

My daughter had it earlier this week.

I woke up at 2 am with hardening stomach and heartburn. I took a bath to try to relax to see if it was contractions, and I’m getting that hardened feeling about every 30-45 minutes but now it’s accompanied by loose stool.

Early labor or stomach bug??