Thank you for your query on Healthcare Magic.
Your child seems to have a gastroesophageal reflux.
Give small feeds at frequent intervals.
And after feeding hold the child in upright position for 10 to 15 minutes.
Try to give more solid infant feeds and you can add rice cereal in milk, but give him small quantity feeds.
If the spitting still continues, you can use medication like domperidone
after consulting your Pediatrician
Hope I have answered your query.