Antacids are good for occasional symptoms, but recurrent or persistent symptoms could indicate more serious problems. Other medications, such as proton pump inhibitors and H2-blockers, are highly effective, can prevent symptoms from occurring and can heal esophageal inflammation. If you have frequent heartburn, discuss it with your health care professional.