Vomiting in Children - When to Call the Doctor The greatest risk of vomiting due to gastroenteritis is dehydration. Call your doctor if your child has diarrhea, refuses fluids, is not urinating, cries without tears, has a dry mouth, or seems confused. You should also call if vomiting persists more than two days, which increases the risk of dehydration. The following symptoms may indicate a condition more serious than gastroenteritis and require immediate medical attention: * projectile vomiting in an infant * vomiting accompanied by fever * repeated vomiting of green or yellow bile * stomach feels hard and bloated in between vomiting episodes * vomit resembles coffee grounds * vomiting blood * vomiting follows head injury * vomiting during recovery from a viral infection