You’ll need to enable the remote access option of your server (see: Settings > [Server Name] > Remote Access).
https://support.plex.tv/articles/200289506-remote-access/
In many situations this should „just work“. Depending on your home network setup, router and ISP it might be necessary to take some additional steps.