His advice could help prevent dehydration even if you're experiencing vomiting.