If someone "hacked you" and changed your password, then you will be informed via e/g mail. If you have not received a notification about this, and you just can't log in, use MCLeaks authenticator (search it up on yt). If you have received a notification about that, then change your pass