Drug-resistant TB occurs when the bacteria develop resistance to one or more of the standard TB drugs. This can happen due to improper or incomplete treatment. Multidrug-resistant TB (MDR-TB) and extensively drug-resistant TB (XDR-TB) are more difficult and costly to treat, posing significant public health challenges.