Cavitary TB is mostly drug-resistant and can be treated by doing drug sensitivity cultures and choosing sensitive drugs or choosing a combination of drugs. Cavitary TB becomes very difficult to treat if it becomes drug-resistant. Patients can do drug sensitivity test to find drugs that still have therapeutic effect and follow the doctor’s prescription to prevent the reappearance of drug resistance due to improper use of drugs, such as failure to follow the course of treatment. Combination of drugs can also be used, that is, two or more drugs are used at the same time. Alternatively, patients can be treated with second- or third-line drugs, such as capreomycin and kanamycin, under the guidance of a doctor. It is recommended that patients with cavitary TB who are mostly drug-resistant should consult a doctor in time and choose appropriate drugs for treatment under the guidance of the doctor.