GE washer won't spin

When I turn washer on it will fill agitate drain put won’t spin the pump just keeps running . Unplug pump turn back on and it makes no noise at all motor not running at all .Light on the mother board flashing 1 second on and 1 second off normal