If TB can I avoid drug resistance?

Sure. To minimize drug resistance, treatment regiment for active tuberculosis always includes a combination of drugs, i.e., isoniazid, Rifampin and ethambutol. Patient's compliance to treatment recommendation is equally important.