This will likely cost as much to repair as to buy a new inexpensive dishwasher. After you spend $125+ to FIND OUT what is wrong (appliance repair service call), pay for the parts and labor to fix, likely another $100, you will almost be at the low end replacement cost.
you might want to check to see if your float is stuck or any food is lodged in the system. If nothing is there than the motor could be going bad. That type dishwasher is relatively inexpensive and the other guy is right it’s not worth fixing it it would be just as much to get a new one