Time or surgery. Penile fracture can heal spontaneously, but can lead to impotence or curvature of the penis. It usually occurs as a result of rough intercourse. More often, if the affected patient presents in time, it can be repaired surgically (it often requires surgery to avoid the above problems).
Go to er. Urologist should be able to help. First they may have to reduce the swelling or hematoma associated with this condition.