The remedy is chosen according to the cause of the lung cavity. For tuberculosis, anti-tuberculosis treatment is needed; for septic bacteria, appropriate antibiotics are chosen to fight infection; fungal infection and cancer can cause lung cavities. 1. Tuberculosis caused by tuberculosis can be treated with anti-tuberculosis drugs, such as isoniazid, rifampicin and other drugs, and the patient should follow the doctor’s instructions to take the drugs. 2. The lung cavity caused by septic bacteria choose the appropriate antibiotics, such as amoxicillin, ceftriaxone and so on. 3. For lung cavities caused by fungi, choose antifungal drugs for treatment, such as fluconazole and flucytosine. 4. Lung cavities caused by cancer can be surgically resected according to the treatment of lung cancer, and appropriate chemotherapy, radiotherapy and targeted therapy can be carried out after the operation. If lung cavity disease is diagnosed, treatment should be carried out under the guidance of doctors and medication should be taken according to the doctor’s instructions.