Viagra, commonly known as sildenafil , is a drug primarily used to manage ED, also referred to as erectile disfunction . It operates by enabling men to get and keep a lasting phallus. Because it's often associated with sexual performance , Viagra does not automatically initiate an erection; sexual s