Question: what to do when you throw up in the middle of the night?
Answer: Prop your head up so you're not lying flat in bed. ... 
Drink a small amount of a slightly sweet liquid, like fruit juice, but avoid citrus. ... 
Drink ginger or peppermint tea.
Suck on a peppermint.
Eat a small amount of light, bland food, like plain crackers or bread.