This article gives a very complete explanation of the actions needed when a pool becomes contaminated.