Eating a banana can help to form a lining which prevents heartburn from getting worse.