Step by step
Enter a current code
On Two-factor authentication / login-2fa, enter a fresh Authentication code from your authenticator app, then Verify and continue.
Check device time
Authenticator apps need correct device time. Fix clock sync if codes are always rejected.
Recover from Settings → Security
If you can still sign in on a trusted session, open Settings → Security to Disable 2FA or re-enroll with Enable 2FA.
OTP is different
Missing email login codes are not 2FA. Use Can’t receive OTP for email codes.