Many relatively minor conditions can cause penis pain. However, you should contact your healthcare provider immediately if you have pain that lasts more than a few hours, have pain with other unexplained symptoms, or develop priapism (an erection that does not go away).