The coughing symptom in children is usually caused by excitation of the vagus nerve during the night, which causes spasm of the bronchial smooth muscle. Therefore, you can give your child some bronchodilator medication before bedtime, or nebulized inhalation of bronchodilator medication, such as chewing a chewable tablet of montelukast sodium or nebulized inhalation of terbutaline sulfate and budesonide before bedtime. Another reason for coughing at bedtime is that there is inflammation in the respiratory tract, and at this time the secretions from the trachea accumulate in the trachea and lungs and are not very easy to cough up while lying down, so you can take phlegm-reducing drugs for treatment before bedtime, such as amiloride oral solution, which is effective. Also at night when children are sleeping, they are breathing with their mouths open and the air is dry. At this time, you can relieve the cough by drinking more water.