We cannot say anything with certainty about this pain without examining you. However, I want to let you know that pain along the penile shaft, inside the scrotum, and inside the lower pelvis is often caused by prolonged sexual excitement which is not relieved through masturbation or intercourse. This is much more common persons of your age. SO, check if you experienced strong, prolonged sexual desire and arousal a little before the pain in penis started.
If yes, just masturbating will solve the problem. If this is not the case with you, you should see a urologist.
Answered2017-10-02 12:28:13
Let others know if this answer was helpful