Thanks for writing to health care magic.
Your description is suggestive of GERD
(gastro esophageal reflux disease
Prokinetics prescribed by your doctor will be useful.
Do not keep you baby in lying down position immediately after a feed.
Some times H2 blockers or proton pump
inhibitors are also prescribed.
Hope this helps.