TMI-Loose stool

Im 21 weeks pregnant.For a couple of days i have been having loose stool.Everytime i eat even if i eat an apple i need to run to the bathroom.I havent changed my diet or anything.I get the urge to poop even if i dont need to poop.Now im going twice in an hour.I also feel nauseous.Im worried if this is a sign of preterm labor or just stomach bug?

Would appreciate any advice or suggestions.Thanks