Or better yet, do not use SMS 2FA due to the risk of sim-swapping[1], especially on cryptocurrency exchanges(if ever you trade frequently.
Or you could use a prepaid sim card just for this, of course depending on the country you're in.
Prepaid cards can't be replaced here with just giving your number and name since operators don't have any of your personal data associated with prepaid cards. I can enter a store and pick a pack of sim cards, get out and nobody will care. So for a replacement, you have to either physically prove you own the card or in case you claim your phone has been stolen or lost the operator will instantly see that your number is still active and without a valid ID, a 4 page document full of stupid question when you used your number and what data plan you had when you paid for it how and so on, not even mentioning the 48 hours mandatory wait you have no chance of getting that number.
My cousin's girlfriend actually lost her phone and he was unable to prove he did own that prepaid number, so..she lost it forever.
With monthly plans it is indeed easier, you know who to impersonate if the operator is stupid enough and you know the birth date and address you might get away with a scam but in the prepaid case, there is simply nothing to match in their database.