text: It may be used in combination with other antibiotics to treat pneumonia and can be used to prevent infection before surgery, particularly heart, lung, or bone surgery. When used to treat endocarditis, in combination with other antibiotics or alone, the dose of flucloxacillin may need to exceed the usual dose.