Sildenafil, sold under the brand name Viagra, is a medication used to treat erectile dysfunction and pulmonary arterial hypertension. Onset is typically within 30 minutes and lasts for about 4-5 hours