In that case, you get the infection, you're exposed to the bacteria, you're sick, and then you take, say, an antibiotic which cures it, and those drugs are actually working to kill the bacteria.
Nesse caso, ficamos infetados, somos expostos às bactérias, ficamos doentes e tomamos um antibiótico que nos cura, e essas drogas resultam mesmo ao matar as bactérias.