Mycoplasma infection leads to coughing all the time at night is mainly considered to be mycoplasma pneumonia, which manifests itself as repeated spasmodic cough, mainly dry cough. Treatment is mainly aimed at the cause and symptoms of drug treatment, can use antibiotics and cough suppressants and so on. 1. Antibiotic treatment: Since mycoplasma is a microorganism without cell wall, mainly choose fluoroquinolones and macrolides antibiotics to fight infection, such as levofloxacin, azithromycin, roxithromycin and so on. 2. Cough suppressant treatment: cough caused by Mycoplasma pneumoniae infection is mainly dry cough, and the degree of cough is more intense, no sputum or sputum is usually used to stop coughing, such as cotrimoxazole capsules, Pentoxyverine and other drugs. The use of medication should be directed by a doctor, such as the use of medication after the discomfort, should consult a doctor in a timely manner. Daily should pay attention to keep warm, drink more water, ban smoking and alcohol, avoid spicy, stimulating food. Also pay attention to isolation, to avoid infecting others.