There are many foods that need to be avoided and also some alcohol! (If not all) Heartburn is caused by the muscle at the end of your oesophagus not being tight enough, so acid and other yuk from the stomach comes back up! (nice!) There are various foods that make the muscle relax, therefore making the problem worse. However, there is a new homeopathic 'drug' only available in the USA, made from orange peel (D-limonene) which puts a film on the stomach contents and stops the food rising back up the oesophagus. I have just ordered some myself from www.lfe.org (Life Extension is an American journal) and it is quite cheap in itself but obviously you need shipping and tax etc.
I think heartburn is manages rather than cured completely, as an operation to tighten the offending muscle is a big job, so I am led to believe.