Antibacterial ointments such as mupirocin (available as Bactroban) may help treat a staph infection. If there’s no improvement, it’s recommended that you consult a doctor.