When you setup a 2FA on a website you can backup the seed/code they give you somewhere else or on paper and reuse that code any time in the future, this is your backup.
pretty sure yubikey allows to store google auth seeds, probably many others devices like it.
Whatever device you use, you...