Carbonated beverages such as Sprite can cause you to burp and expel some of the gas, thus relieving you of your stomach pain.