Surgery to veins that allow blood to leave the penis usually involves intentional blockage. Blocking off the veins (ligation) can reduce the leakage of blood that diminishes the rigidity of the penis during erection. However, experts have raised questions about the long-term effectiveness of this impotence treatment, and it is rarely done.