If you think your Microsoft account has been hacked, it’s recommended you to reset your password right away. It's a good idea to choose a password that you don't use elsewhere.