Help pain
Burp. Walk. Whatever helps you pass trapped gas ;) If the pain is severe go to the Dr obviously but I'm guessing a great big burp will help. Check your paperwork if your Dr allows Gas X (strips are great)
and have a back up plan if the situation happens again... refillable water bottle topped off before you leave just in case.