Viagra, also known as the medication , is a widely used drug primarily intended for managing male erection health issues . It functions by enhancing blood flow to the penis , which allows men get and keep an uprightness sufficient for fulfilling intercourse . While generally safe when administered as instructed by a medical doctor, it's crucial to