So sorry, this is awful!
If you have a fever or can't keep any fluids in, contact a doctor. If neither of those are the case, sweat it out. Doesn't really matter which of the two the case is.
I had something similar, and knew it was a virus when DH followed my example :).
Don't let your husband push you on what to eat, as long as you can keep some water/other fluids in, you'll be ok!