Priapism is a painful erection that does not go away. It is not common. When it does happen, boys between the ages of 5 and 10 and men between the ages of 20 and 50 are most often affected.