Viagra, frequently known as this drug, is a prescription medication primarily used for managing impotence . It operates by increasing blood circulation to the penis , which enables men attain and keep an erection sufficient for sexual intercourse . While usually safe when taken as directed by a healthcare provider , it's necessary to be cognizant o