If the cavity of tuberculosis does not close after treatment, you can choose to continue treatment with medication or surgery, please follow the doctor’s instructions. If the cavity does not close after treatment, it is generally recommended that the patient continue with anti-tuberculosis treatment, there may be drug resistance, if it is determined that there is drug resistance, it is necessary to change the anti-tuberculosis treatment regimen, you can choose to use or add a second-line anti-tuberculosis drugs, such as moxifloxacin, levofloxacin, linezolid, and so on. In addition, if the symptoms cannot be relieved by repeated treatments and the cavity does not heal for a long time, you can consider choosing to undergo surgical resection treatment, i.e., removing the cavity and some diseased tissues through surgical methods, so as to achieve the purpose of cure. Patients also need to strengthen the nutrition and physical fitness, and regularly review the CT of the lungs to observe the changes of the lesions. Please follow the doctor’s instructions for treatment, and do not blindly self-medicate to avoid adverse reactions.