If the cavity is caused by infection with Mycobacterium tuberculosis, anti-tuberculosis drugs can be used for symptomatic treatment, such as bacitracinamide tablets, rifampin capsules and ethambutol hydrochloride tablets. Lung abscess and necrotizing pneumonia may cause symptoms of pulmonary cavitation, which can be treated with anti-infective drugs, glucocorticoids, bronchodilators and other drugs. Malignant tumors of the lung, rheumatism and other diseases may be accompanied by symptoms of pulmonary cavitation, and the specific treatment plan requires a more detailed special examination at a regular hospital to confirm the specific cause before symptomatic treatment.