Should i go to the dr?

Ive had an upset stomach for about 5 days now and i cannot keep any food down without having to go to the restroom right after. Im not sure if its a stomach bug but i thought id be over it by now and im 26 weeks. I just dont want to get dehydrated or something.