Abdominal Cramping and Vominting

Should I go to the doctor I’m 25 weeks pregnant and this morning I woke up with mild cramping in my abdomen and nauseous. Then I started throwing up I’ve been up for about 3 hours and I’ve thrown up like 6 times, my cramps are hurting me a little bit more and more. My parents had just been sick to their stomach with vomiting, diarrhea and cramping in their stomach idk if I have the same thing or it could be something else. What should i do 🥺

Vote below to see results!