washer was cutoff in middle of cycle now wont agitate or spin

the washer was power was cut off in middle of cycle now it goes through cycle but does not agitate or spin it will spin chothes if i put it onjust rinse and spin but on regular cycle it wont spin or agitate some one said i could reset my curcit board if so how is it done any help wuold be appreached