To use Microsoft Remote Desktop over the internet, you'll need to have a computer that you want to access remotely (the host computer) and a computer that you want to use to access the host computer (the client computer). Both computers must be connected to the internet.
Configure the host computer: You'll need to enable Remote Desktop on the host computer. This can usually be done by going to the System Properties and selecting the Remote Desktop tab.
Obtain the host computer's IP address or domain name: You'll need to know the host computer's IP address or domain name in order to connect to it.
Launch Remote Desktop on the client computer: Open the Remote Desktop app on the client computer.
Enter the host computer's IP address or domain name: In the Remote Desktop app, enter the host computer's IP address or domain name in the Computer field.
Connect: Click the Connect button to establish a connection to the host computer.