Penicillins are antibiotics that are used to treat and prevent a wide variety of bacterial infections. It works by stopping the growth of bacteria. Examples of penicillins include: