Doctors usually prescribe antibiotics to help people get rid of E. coli in the urinary tract.