I can eat any spicy foods you throw at me, but certain fats hammer me instantly. If I eat anything within an hour of going to bed, I'm screwed. Anything except an apple! I can eat an apple right before bed, and it has the opposite effect, which is awesome. Next time you have heartburn, try an apple. If that works for you, it would be much better alternative to choking down antacids all the time.