How to treat tuberculosis depends on the nature of the infection. The infection could be latent or active, or resistant. The drugs for each type will differ, and the duration of the treatment will also vary.
If the infection is latent, the drugs given include isoniazid and rifapentine or rifampin. These can be given as separate medicines or a combined dose. The treatment lasts up to 9 months.
In the case of an active infection, the medication is a bit different. In addition to isoniazid and rifampin, ethambutol and pyrazinamide are administered. The treatment takes anywhere between 6 -12 months.
For those diagnosed with Multi-drug resistant TB, the treatment may require a different set of drugs and injections, which continues for a longer period of time.
Whatever be the diagnosis, you have to complete the course of medication and not abandon it halfway through.