wash cycle stuck make a humming noise but doesn't start

When I turn machine on it fills with water and when it gets to the wash cycle it attempt to start but it make a noise as if it is a relay kicking in but the wash cycle doesn’t start. When I hit the cancel button the machine motor drain perfectly. Ease help me fix this problems.