Viagra (sildenafil), Cialis (tadalafil), and Levitra (vardenafil) may need several doses over time before they work correctly. Doctors may adjust the dose regularly and tend to prescribe these drugs six months after a heart attack, provided the condition is stable.