Priapism or persistent and painful erection is a urology emergency. It must be attended by a urologist immediately and treatment would depend on the duration and severity of the condition.
Medications to relax blood vessels in the penis is given and this can be in the form of a pill or injection directly into the penis. Excess blood in the penis may be removed with a needle in more serious conditions.