Open your dishwasher, and remove all dishes and silverware. Run a wash cycle according to the instructions for your particular dishwasher.
Open the dishwasher, and remove the bottom rack by pulling it out.
Dip a toothbrush into warm, soapy water, and use it to clean around the door of the dishwasher, as well as between the rubber seal and the door.
Dip a sponge into soapy water, and use it to clean the drain in the center of the dishwasher.
Sprinkle a cupful of baking soda around the inside of the dishwasher, and close the dishwasher door. Run the dishwasher on its hottest cycle.
If there are rust stains in the appliance, open the dishwasher door, and fill the internal soap dispenser cup with a rust-removing cleaner for home appliances. You can find these cleaners in the detergent section of your supermarket.
Run the dishwasher through another wash cycle.