You make sure that you are burping for minimum 20 minutes after each feed.
Even after that if the child is vomiting, if not responding to medicines then you need to do investigation- ultrasound abdomen to look for a disease called Idiopathic hypertrophic pyloric stenosis (IHPS)
Next Steps
Try burping properly for atleast 3-4 days. Then decide on doing tests.