Antibiotics are strong medicines that treat bacterial infections. Antibiotics won’t treat viral infections because they can’t kill viruses. You’ll get better when the viral infection has run its course. Common illnesses caused by bacteria are urinary tract infections, strep throat, and some pneumonia.