Steps
- Startup or restart the computer
- Immediately hold down command-r
- Choose Reinstall macOS current version
- See the details in the guidelines section
You may need the password to unlock filevault
Reinstalling will take a long time. Once it has started leave the computer alone.