Washer will fill with water and drain but won't agitate or spin

I replaced a new water pump, clean the boot and drain hose but now the washer will not spin or agitate in any cycle. disconected the washer and pluge it back but nothing happen.