With 2FA enabled, signing in requires a code from your authenticator app. Use the currently displayed code because it changes regularly.
If the authenticator is unavailable, use a recovery code you previously saved. Each recovery code works once; keep replacement codes somewhere secure.