Secure a Windows server
The first things to do after you sign in.
Change the password
Press Ctrl + Alt + End inside the remote session and choose Change a password. Use a long, unique one. Servers on the internet are probed for weak passwords.
Install updates
Open Settings and find Windows Update. Install what is offered and restart when nothing important is running.
Keep the firewall on
Leave Windows Defender Firewall on. Before you change a rule for remote desktop, make sure you have another way in, or you can lock yourself out.
Make your own backups
Keep copies of important files somewhere other than the server. A backup on the same disk does not survive losing that disk.