Check the hot water temperature for the dishwasher. Go to the hot-water heater first and see if there is a temperature reading on your dial setting. If it simply says "hot," use a meat thermometer. Run 1 cup of hot water from the kitchen faucet. If the reading on the thermometer is 140 degrees, the water temperature is fine. If it is lower, adjust the setting on the hot water heater.
Add a rinse additive agent to the dishwasher. These are products designed to keep debris and mineral deposits from sticking to the dishwasher and dishes.
Check the water pressure. Place an empty gallon-size jug beneath your kitchen faucet. Turn it on, and time how fast it fills. If it fills in under 14 seconds the water pressure is fine. If not, your pump may not be putting out adequate water pressure. When you run the dishwasher, turn off other appliances that use water, like sprinklers, the washing machine or the shower.
Add the proper amount of detergent to your dishwasher. Consult the dishwasher manual and package of detergent you use if you're unsure how much to use.
Load the dishwasher correctly. Do not overfill, or water cannot disperse amongst the dishes and will leave spots on everything.
Run a citric acid treatment through your dishwasher. Citric acid removes hard water mineral deposits from the dishwasher by dissolving the minerals. Citric acid crystals are available through most dishwasher suppliers.