If it's on and off it's either too much masturbation or prostatis. I have had the same problem. Urologist told me to stop masturbating as frequently, and walla, when I don't masrurbste for a couple of days it's gone. Intercourse doesn't effect it. The hand coupled with ejaculation can irritate the urethra, and cause pressure in the prostate to build up, if it's too frequent. If it's a slight dull pain, like you feel it when you walk and you feel the head irritated against your underwear, this is what it is