@YasserChani Check in the anti virus approved or denied softwares and applications (can even do this for your firewall as well)
And look for easyanticheat.exe and r5apex.exe
This is easiest if you go to the download location of the game. Both of these applications are In the same folder.
Make sure they're set to approved in your anti virus and click OK. And try re loading up apex once again. PC may or may not request a restart to apply changes depending. These situations vary but a restart once in awhile doesn't hurt.