38 weeks with extreme nausea?

Hi everyone,
I'm about 38 weeks and am having extreme nausea the past 24 hours. It's hard to keep anything down. At my last appointment on Friday I was 2cm dilated and 50% effaced so I'm wondering if this can be a pre labor symptom or if it's something I ate? Anyone have any similar experience or knowledge on this? Thanks so much!