Thanks for writing your query.
Excessive gas formation can be due to increased acidity in the stomach.
You should have a healthy life style and follow some precautions like :-
1. Avoid spicy/oily foods.
2. Donot miss a meal.
3. Avoid emotional/mental stress
4. Donot self medicate especially with pain killers and steroids
5. Avoid gas producing foods like peas, legumes, cabbage,etc.
6. Donot eat fast and donot talk while eating as this may result in swallowing more air during eating leading to feeling of more gas in the stomach.
You shouold get your blood tested for Thyroid
and lipid profile
You can continue medicines as prescribed by your doctor.
I hope this is helpful to you.