Viagra, frequently known as the medication , is a widely used treatment primarily used for treating erectile problems . It operates by enhancing blood flow to the penis , which enables men attain and maintain an uprightness sufficient for satisfying intercourse . While generally safe when administered as prescribed by a healthcare professional , it