It doesn't sound like this is anything to do with your pregnancy. More like a tummy bug. See your doctor, you probably just need to treat it in the normal way with staying off food for a couple of days, and drinking one of those drinks with electrolytes in them.