The F2 code means that water level exceeds the admissible one.
This may be due to a blocked or faulty drain pump and/or inlet valve.
This is a common problem, because food particles often get stuck in the drain system and prevent dishwashers from draining properly. If you have faced the situation, please, remove the drain, clean and rinse it. If you use soap or cleaning agents, which foam heavily, make sure there is no foam on the behind the lower panel. If there is, you may end up with the F2 error code still flashing on the display. Wipe these parts with a dry towel. Wait 24-36 hours before connecting the machine to the mains and running it. If the error is still there, most likely, the panel has not dried off yet. Wait a few hours more and run it again.