Most people recover without treatment, after about a week, but some may develop serious health problems and need to be hospitalized. “There is a particular kind of E. coli known as Shiga toxin ...
For more information the CDC provides a frequently asked question page. There is no specific treatment for E. coli infection, and generally people are advised to drink plenty of fluids.