Preterm labor ?

Last night was rough I'm 34 weeks and I Woke up with stomach pain for a non stop hour. I tried to use the bathroom and it was only a little then I Threw up and 20 mins later had diarrhea.. then pain finally went away. I have a doctor's appointment today too. Do you think it's preterm labor.