Viagra, also known as the medication , is a prescription treatment primarily used for managing impotence . It operates by enhancing blood circulation to the penis , which allows men to achieve and sustain an erection sufficient for sexual intercourse . While generally safe when administered as prescribed by a qualified provider , it's necessary to