Am at week 38 and heartburn is killing me

Hae am at 38 weeks and heartburn is killing me... I have tried all methods to make it stop but they are not working. It is even making me sleep while seated.. sometimes when I take water I end up vomiting hot water that is burning... What kind of food should I start eating? Thanks