VNC client works well.
https://support.apple.com/guide/mac-help/allow-apple-remote-desktop-to-access-your-mac-mh11851/mac
https://support.apple.com/guide/remote-desktop/welcome/mac
Edit: I feel like I should add that you should never expose your computer's remote access software to the internet. Use a VPN server or Reverse Proxy setup. Both can be done easily using a Raspberry Pi.