Take these steps before surgery: * Identify and treat any preexisting infections, such as urinary tract infections or pneumonia. * For patients undergoing elective surgery, use a nasopharyngeal swab to determine if they are carriers of methicillin-resistant staphylococci.