I am sorry to hear you are facing issues while using the Azure VM. If I understand your problem accurate, you are not able to connect to the VM, correct?
What error message are you getting when you try to login? Is it Windows or Linux based VM? Did you allow RDP traffic in the NSG? What steps are you following to do your deployment?
Please review these basic troubleshooting steps https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection and share additional details about what I asked above about your specific issue and we will help you to root down the problem.