If spitting up and gagging makes your child irritable and in pain, contact your pediatrician. Spit-ups that bother your baby can be a sign of other underlying issues like GERD.