Timer won't cycle

In the regular wash cycle the washer will fill up but will not agitate or complete the cycle. But on the hand wash and gentle cycle it will fill, agitate spin,and drain it complete it’s wash cycle. What can I do to fix
The problem