How does this medication work? What will it do for me? Mupirocin belongs to the class of medications called topical antibiotics. It is applied topically (to the skin) to treat skin infections such as impetigo, caused by certain bacteria. It may also be used to prevent infections from developing in scrapes and minor cuts and injuries.