The main electronic control board has a corrupted electrically Erasable Programmable Read-Only Memory. If the code clears, unplug the washer and see if the power comes back on. The main electronic control board should be replaced if not.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.