Stomach Flu while pregnant

Li
I'm miserable 
 I cannot keep any food down I'm so hungry but I don't have an appetite. Ugh I can barely drink water. Have any of you guys been through this? Any tips?