Viagra, or sildenafil , is mainly prescribed to address difficulty achieving an erection in men. Additionally be used sometimes for treating lung conditions . Its mechanism of action involves relaxing arteries in the penis allowing for more circulation and enabling an erection . Potential adverse effects may include headaches , flushing , a blocked