buy a container of CLR and dump this into the machine and set for a long wash, do not put any clothes in the washer, this is a liquid clean out wash.
This might remove the stains, smells, and other.
But, if your washer is not draining, then call a tech immediately, your pump may be going out or is out. Do not leave the house with the washer on since you might have a major water leak. Seek attention immediately.