This medication works by stopping the growth of bacteria. This antibiotic treats only bacterial infections.