Whenever I add 2FA, I note the manual code that goes with the QR code. So if I need to switch devices, I can re-enter the code. And/or use Authy – that’s really good about letting your change devices.
Otherwise, you’ll have to check with the app’s creator to find out the process.