Your side. Lying on your side with your knees bent can help to relieve trapped gas. If you don’t feel relief after a few minutes, pull your knees closer to your chest or try alternating between straight legs and bent knees.