Hi,
Do you mean your Microsoft account is hacked?
I recommend following the instructions at https://support.xbox.com/en-IN/help/account-profile/manage-account/compromised-account-solution to get back in your account.
I’m eager to hear back and work together to find a solution.