wont agitate spin or drain

:confused: Hello everyone,
my wife bought a used washer off of a local classified site in our area and for the first few months it worked fine however recently the machine has stoped draining or spinning, the machine will fill up with water but wont agitate in the wash cylce or spin or drain, Ita a maytag top loaded 8 cycle.

thansk for the advise and help

It would be helpful if you posted the model number for us, thanks.