If your character can't move, you can use your Hearthstone to teleport back to a safe place. If you're unable to log into your character at all, or keep getting disconnected when you try, follow the troubleshooting steps in our support article to resolve the issue.