The F7 Error code indicates that the power to the magnetron was interrupted. You need to make the following checks. The microwave oven can be unplugged or disconnected. There are 2. Check after 40 seconds to see if this resolves the problem.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.