Staphylococcal infections are treated with antibiotics for at least 3 weeks and often 6 weeks or longer, especially in patients with prior arthritis in the affected joint, immunosuppression, or whose diagnosis was delayed.