To help prevent the milk from coming back up, keep your baby upright after feeding for 10 to 15 minutes, or longer if your baby spits up or has GERD. But don't worry if your baby spits sometimes. It's probably more unpleasant for you than it is for your baby. Sometimes your baby may awaken because of gas.