Resistance develops primarily through genetic changes in bacteria. These changes can arise from mutations or through the acquisition of resistance genes from other bacteria. Overuse and misuse of antibiotics in human medicine and agriculture accelerate this process by applying selective pressure that favors resistant strains.