As long as you can stay hydrated you shouldn't need to go into hospital.
Try eating small meals or even crackers & make sure you sip water all day.

Hope you feel better soon