Antibiotics can be used to treat an infection that is causing hematuria.