Another way to protect your esophagus while you sleep is to elevate the head of your bed. That way, you'll be sleeping on a slope, and gravity will work for you in keeping your stomach contents where they belong. Put wooden blocks under the legs at the head of your bed to raise it about six inches. Avoid waterbeds too, as your body basically lies flat on the water-filled mattress. You can't effectively elevate your chest and therefore can't prevent your stomach contents from spilling out into your esophagus.