My first born would sometimes vomit but in most cases would spit up every after feeding when he was just an infant. I read somewhere that it’s because his tummy is too full so what I did was I burped him in between feedings (when I was breastfeeding) and did paced feeding when he’s being bottle fed.