How does an antibiotic treat infections in animals