When a child coughs when he or she goes to sleep, it is likely that the air is too dry or there are unclean bacteria and lint dust in the respiratory tract. Parents can properly add an air humidifier to the room for the child, so that it will be more helpful for the child to sleep peacefully and the air will not be too dry and will not affect the child’s quality sleep. 1, in fact, there are many most children after sleeping at night, coughing because of lying flat, take medicine also does not have much effect, you can go to the dermatology department to do a major allergen test, may be because of lint or other items in the family caused by allergies. 2. If your child has a non-stop cough, go to the hospital for a chest X-ray to rule out the possibility of bronchitis or pneumonia. 3. If the child’s cough does not change much after taking any medication it is likely to be due to a bronchial infection or the first signs of pneumonia. Parents can find out about their child’s cough after sleeping. If there is yellow in his sputum, it is most likely because the environment he has been living in recently is too hot, the temperature is too high and there are symptoms of fire. As long as the cough is getting worse, make sure to go to the hospital to find the cause.