Anyone felt like this?

Had diarrhea twice and threw up, not feeling too good. Anyone go through this? Should I go to the doctor or what?

I am 29 weeks pregnant.