You don't include many details about what the washer will do but if the washer will agitate then the problem is most likely the lid switch.
On this particular washer if everything works but the drain and spin then most likely the lid switch is the problem.
The lid switch can be checked for continuity across the terminals with a volt/ohm meter if one is available or it can be bypassed if you don't have a meter or know how to use one.
The image below will show how to access the lid switch.
Remember to unplug the washer first.
Your particular washer has two end caps that must be removed to access the two screws holding the console down.
I hope this information is helpful to you but submit another question with any additional details for further assistance.