I would try a combination of different indigestion remedies because not all worked for me.
Get some liquid Gaviscon - that is a pretty good bet, but also try some Zantac tablets.
Eat little but often and avoid coffee/caffeine, cheese and red wine.
Prop the end of your bed up (couple of books under each foot) so that you can sleep slightly raised.
I don't envy you - I had a really bad attack of heartburn a couple of years ago that went on for about a month and was thoroughly unpleasant.
It's also triggered by stress, and my GP recommended taking up yoga and/or pilates to help.