This medication is used to prevent minor skin infections caused by small cuts, scrapes, or burns. Bacitracin works by stopping the growth of certain bacteria. It belongs to a class of drugs known as antibiotics. This antibiotic only prevents bacterial infections.