For frequent reflux, an OTC acid reducer such as
famotidine may give longer relief but is not as immediate. Antacids can relieve heartburn, but frequent symptoms need assessment.
MedlinePlus guidance
Get emergency care now if the burning is with chest pressure/tightness, shortness of breath, sweating, pain spreading to arm/jaw/back, faintness, vomiting blood, or black stools. Heart attack symptoms can resemble heartburn.
MedlinePlus emergency advice
See a clinician promptly if it happens most days, wakes you at night, does not improve within a few weeks, or you have trouble swallowing, vomiting, unintentional weight loss, or bleeding.