Washing machine not changing from wash , to rinse and dry

MACHINE is working but does not change mode of working washes , but will not change t o rinse automatically , brand defy