Just try turning the network connection on and off on which device you are trying to play Apex Legends. If that doesn't work, try restarting the router.