washer will not complete cycle

My washer will not complete any cycle. It stops a few minutes after starting and I have to restart it several times.The rinse cycle has been doing this for along time I usually put it on the rinse and spin cycle and it will work but now it is the wash cycle too.The bleach is not letting out into the rinse cycle either now even when on rinse and spin cycle.:confused:

Inside the lower service panel there should be some tech notes that will tell you how to put it into diagnostic mode and generate some error codes and test some key components.

Focus on the main control board, the motor control board and the door lock assembly.