washer overflows,does not stop filling

when starting load the washer fills but does not stop filling and overflows, does not advance to agitate cylcle