Vomiting and spitting up are not the same. Vomiting consists of a large amount of milk expelled at one time. It is frequently due to overfeeding. If vomiting occurs only occasionally, it is of no concern. If it is persistent, please call your pediatrician.
Spitting up consists of small amounts of milk which the baby regurgitates between feedings. This is of no concern if the baby is growing well.