Viagra, generically known as the medication , is a prescription treatment primarily prescribed for managing erectile dysfunction . It operates by increasing blood flow to the phallus, which allows men to achieve and sustain an uprightness sufficient for sexual intercourse . While generally safe when used as prescribed by a medical doctor, it's impo