I don't like giving medical advice, but in my experience, drinking a glass of warm water with a pinch of hing (asafoetida) or chewing some saunf after meals gave me great relief. Of course, if the pain is very sharp or severe, it's always best to ask your doctor.
Gas pain is very common because of progesterone slowing digestion, but if you have thyroid issues like I did, make sure you don't miss your regular checkups since hormonal balance affects digestion too. Ask your doctor for a safe antacid if it's too painful.
In our family, they say drinking warm jeera water or buttermilk with ginger helps to soothe the stomach. It worked well for me, but I always kept my gynac informed. If you feel severe cramps or sharp pain, please consult your doctor immediately.
I am in my 5th month now and the gas pain is sometimes so sharp that it feels like cramps, which really panics me. Does anyone else also get these sharp pains? I find that drinking warm water helps thoda, but I'm still quite anxious.