A family of Microsoft word processing software products for creating web, email, and print documents.
The quick repair option on that popup error dialog rarely resolves the problem with the Office apps, the best option is to perform a full repair of your Office installation.
Open the Settings App (gear icon on your Start Menu)
Go to Apps - Installed Apps, then scroll down to find Microsoft 365 (Office).
Select that and choose Modify - Online Repair
That should fix any issues with your Office Installation.