Agitates only

In the past, machine would not spin regularly. It would spin if manually set. Yesterday, the machine stopped mid-cycle, now, only agitates - will not drain, spin, rinse. Thoughts?