When it comes to treating ED, two of the most popular choices are sildenafil and tadalafil. Both medications work by boosting circulation to the penis, allowing for an erection. However, they have some key differences that may make one a better fit than the other for you. Viagra is known for its rapid onset, typically taking effect within an hour.