Every competent TOTP implementation has backup codes. Use one of your backup codes when your phone breaks.
You did write them down like the site told you to, right?
Even if a site doesn't offer backup codes, you can extract the TOTP secret from the QR code, or most authenticator apps, quite easily, and then write it down.
It's more secure to only save the backup codes though since they have a limited number of uses, while the TOTP secret has unlimited uses.