- Open Settings → Security.
- Enable two-factor authentication and scan the QR code with an authenticator app.
- Save your recovery codes offline — each code works once.
- Confirm with a code from your authenticator.
If you lose your authenticator, use a recovery code, then set 2FA up again.