Washer wont stop filling

The washer constantly filled with hot water even in spin cycle. Cut off hot water but then it was only dripping cold water even when waher is off.