Hi Karen, I am sorry you are having problems with your washer, the code 5d is actually a Sd code and means that the motor is showing more of a load, this translates to suds and the washer is not clearing the code. There could be a problem with the detergent and when you remove the clothes you should see soapy water in the basket. If so run and a drain and spin cycle to attempt to clear the sudsy water. If the pump is not clearing the water, I would recommend a call for service at this number 1-800-424-2047. I hope this helps you out.