Lying down or bending over after eating can also trigger heartburn. Wait 2 to 3 hours after eating before you lie down.