If you want to connect to your Raspberry Pi device remotely and use the desktop, you can do this by installing xrdp.
Xrdp is implementation of Microsoft’s RDP protocol, and it will allow you to connect to Raspberry Pi device using Microsoft’s remote desktop connection app, jut like you would connect from one Windows machine to another.
To install xrdp under Raspbian, open terminal and type
sudo apt-get install xrdp
This will install xrdp and start the service. After installation is complete, you can connect to a remote desktop session.