Once water is out, find and fix the clog.
That small chrome/plastic cylinder next to your faucet? Remove its cap. Clean out any gunk. Then run a drain cycle. how to drain a dishwasher
If electricity is off and you need water out now : Once water is out, find and fix the clog
Call a technician if:
Many drain issues are electronic glitches. Once water is out