Antibiotics treat bacterial infections by killing or stopping bacteria growth. Misuse can lead to resistance, so they should be used only as prescribed. They're ineffective against viruses like colds or flu. Different types target specific bacteria, and it's important to complete the full course as prescribed to fully treat the infection and prevent resistance.