Open the Origin client and go to My Game Library.
Navigate to Apex Legends and right-click on it.
Then select Restore.
Follow the instructions on the screen to complete it.
Reboot your computer.
Restart Apex Legends and see if it works correctly.