Welcome to Just Answer.
If a dishwasher sits unused, for a period of time, the seals in the motor and pump can become frozen together. If you have high minerals in your water, it can stick the seals together, and the motor cannot turn on; often the dishwasher will fill with water and just sit there "humming".
Usually this is fairly easy to repair and to get running again. Disconnect power; remove access panels and reach in with your hand, to turn the cooling fan blade and break it free. Reinstall power and try the dishwasher. If the "sticking" occurs again, the motor and pump assembly will probably need to be replaced.
If you provide the brand and model number, I can provide you with more specific information.
If you should need further help on this question, please reply to this post.
It is my objective to make sure that my answer completely satisfies your question.
Please click the green "ACCEPT" icon if you feel that I have met this requirement.
Positive feedback and bonuses are always appreciated!!!
Best of Luck,
When using Just Answer, remember that your "ACCEPT" is required for me to receive payment for the time that I spent, helping you to answer your question. This is a FEE based website and without your payment, the site might not be here for your use.