2 flashes indicates a leak into the base.
Drag it out, tip it back about 45 degrees, with loads of towels around it, and drain off the water.
Press and hold the start button to reset and try it on a program.
If the problem comes again during the testing then it's got a leak.
Another cause of flooded base is overfoaming. Using 3,4 or 5 in 1 tablets as well as rinse aid.