It’s true that some vasectomies can be reversed. At the same time, many vasectomies can’t be reversed. If you are getting a vasectomy, it’s a good idea to think of it as permanent and irreversible contraception.
Reversal requires a specialist, can be expensive, and is often unsuccessful. The more time that has passed since the vasectomy was performed, the more difficult a reversal will be.