Preventive measures depend on the underlying cause. For instance, good hand hygiene can reduce the risk of gastroenteritis. Ensuring that children eat small, frequent meals and avoid overeating can help prevent indigestion. If motion sickness is a concern, medications can be used prophylactically. Vaccinations like the rotavirus vaccine can also significantly reduce the incidence of certain infections that cause vomiting.