Sildenafil is a medication used to treat erectile dysfunction. Dosing depends on age, tolerance, and response to the medication.