Burp the baby
It is extremely important to burp your baby after he or she drinks milk or after breastfeeding. You need to burp the baby after every session of breastfeeding or whenever he or she has eaten something. This helps in digestion of the food and it will take out a lot of heaviness.
One of the main reasons for gas in babies is the extra amount of air they swallow. You can limit the extra air the baby swallows by feeding him or her from a bottle. It is important that you keep the bottle at a 45-degree angle so that the flow of milk remains constant.
Adjust the position of feeding
You need to adjust the position of breastfeeding. Babies generally look to receive milk quickly from the breast and this may result in intake of large amount of air. This can be reduced if you change the position of the baby while you breastfeed, the principle being to keep him/her at nearly 45 degrees to the breast.
Change your diet
You must change your diet to prevent gas in the baby if you are breastfeeding the child. Prevent foods such as broccoli, junk meals and carbonated drinks.
Take doctor’s advice
A good way would be to visit a child specialist. Doctors get to the root of the problem quickly and can get rid of your baby's gas problem by recommending some techniques/diet plan and in some extreme cases, medication.