If you aren't able to keep food and liquid down I would go to the hospital for an IV if this is still persisting. The IV will rehydration you and replenish those vital electrolytes. Also if you need anything else, the hospital will be able to provide.
I caught a virus my kids had. Hydration is the best even if you know it will come back up. Still drink fluids anyway. Imodium is safe for you and baby it will stop diarrhea.
Staying hydrated will be your main concern, so drink plenty of water and juice. If it doesn't clear up any within the next day, I'd go to your doctor.