This could be related to a faulty lid switch or a bad control board. You can enter diagnostic mode on your washer to learn more about what might be going on and go from there.
Watch this video to see how to open your unit up:
https://www.youtube.com/watch?source_ve_path=Mjg2NjQsMTY0NTAz&feature=emb_share&v=KKxD0oFM85I
Once you have the top opened up, there should be a technician data sheet inside the front panel, look over that first and it has a diagnostics test you can run for error codes.
As @jayeff mentioned we need the model number to get more specific.