Viagra can lose its efficacy over time, due to changes in your body or changes in your health. If that happens, Spar said, you can try switching to another medication in the same class (meaning, another PDE5 inhibitor).