Hi A.---The first thing you need to do is practice an elimination diet for yourself. There is likely something that you are eating that is irritating your babies immature digestive system.
It seems counterintuitive, as cows milk is touted as a healthy food, but it is one of the most allergenic substances that humans ingest. Cows milk was designed to make baby cows get big quickly. It is NOT meant for humans to drink. Please go to www.strongbones.org and www.pcrm.org to learn more. So, stop drinking milk. Then, start eliminating foods one by one to see how they affect your baby. Keep a food journal. It will take some time, but there are some foods that are more likely culprits than others. Feel free to contact me and we can talk about those foods.
The formula is another likely candidate. A pediatrician I work with offered the elimination diet AND the need for predigested formula for babies with lots of gas a reflux. Predigested formula does cost more, but in my humble opinion, the health of your baby is worth it.
DO NOT use those meds used to block the production of stomach acid. We need stomach acid for proper digestion and absorption of foods. It is far better for health to take the time and figure out what is causing the problem and then eliminate it from the diet. Be patient and this will soon pass.
Good luck. I know it's hard (my first was a very gassy baby...didn't think it would ever end) but know that you are doing something to help and that you will all get through this.
In health, D.