This is not homework but how do you fix this I’ve tried everything

Maybe you should try and go to your privacy & online safety settings. Or maybe your email has something wrong with it, try making another account and linking it with ur minecraft idk how this works i'm giving my best intake on this sorry this might not help