There are different types of antibiotic, which work in one of two ways:
A bactericidal antibiotic, such as penicillin, kills the bacteria. These drugs usually interfere with either the formation of the bacterial cell wall or its cell contents.
A bacteriostatic stops bacteria from multiplying.