Flood waters

What did people do when floods contaminated rivers and springs?