Unplug the dishwasher. The electronic control board has wiring between it and the drain pump. If the wire harness is damaged, replace it. The drain pump should be replaced if the wiring is intact.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.