Nauseous and diarrhea

I am 28 weeks pregnant. I woke up tonight at 12 am. Sick to my stomach and having to poop bad. Ive had diarrhea for an hour and threw up but had nothing to puke. I am freaking out.

Any advice