Antibiotics are medicines that fight bacterial infections in people and animals. They work by killing the bacteria or by making it hard for the bacteria to grow and multiply. Antibiotics can be taken in different ways: Orally (by mouth). This could be pills, capsules, or liquids.