How to automate remote application

I’m new to automation edge and I need to automate and application using remote desktop.
Please share the steps to do this.