GE washer spins but won't drain

My washer agitates & spins but water is not draining. I put on a new pump because I thought it was that, but it wasn’t, it still doesn’t work. It appears to be the wiring behind the control panel, it has exposed wires. How hard is it to replace the wiring? Will I need to call the experts to fix it?