Heartburn and bloating can be treated through dietary modification, medication, etc., but there is no such thing as quick relief, depending on the person. 1. Diet: eat small meals, avoid overeating, do not eat fried, pickled food, as well as too cold and hard products, eat more fresh fruits and vegetables, drink more hot water, appropriate exercise. 2. medication: it is recommended to do a gastroscopy, breath test and other ancillary tests to determine whether there is H. pylori infection, if there is H. pylori infection, you can choose four drug therapy, such as clarithromycin, amoxicillin, omeprazole, bismuth citrate potassium particles; if there is no H. pylori infection, you can take mosapride, with rabeprazole and other symptomatic treatment. Heartburn and bloating should seek timely medical attention, and all medications need to be used under the guidance of a professional doctor.