There are many reasons for nighttime coughing, and different treatments need to be taken according to different causes, such as anti-infection, acid suppression, anti-allergy, etc. There is no uniform method to stop coughing quickly. 1. If the cough is caused by bacterial, mycoplasma and other pathogenic infections, such as pneumonia, bronchitis, etc., we need to give antibiotics for specific pathogens (such as clear bacterial infections, ceftazidime, amoxicillin, etc.; such as mycoplasma infections, azithromycin, levofloxacin, etc.) to carry out anti-infective treatment. 2. If the cough is caused by gastroesophageal reflux, acid suppression treatment, such as omeprazole, to promote gastrointestinal dynamics, such as morpholine, etc., and to change dietary habits, such as light and easy-to-digest diets, and do not lie down for half an hour after meals. 3. If the cough is caused by heart failure and pulmonary stasis after lying down at night, cardiac drugs such as cediran, diuretics such as furosemide, and vasodilators such as sodium nitroprusside should be given to deal with the cough. 4. If the cough is allergic, you can take anti-allergy drugs, such as loratadine tablets. There are many other causes of nocturnal cough, if the cough is severe, it is recommended to go to the hospital in time to treat the original disease. The above medications should be used under the guidance of a physician.