Circualtion motor

The circulation motor in my dishwasher washer burnt out when I realized that it wasn’t working. A new one was installed and as soon as I plugged in the power cord the motor started working and runs continuously. What other switch could be bad that would power the motor all the time.

Here are your parts
Parts for Frigidaire FDB4050LHB1 Dishwasher - AppliancePartsPros.com

Sounds like the bad motor also blew the control board.