This is always an interesting topic.
I had pain in my right testicle and the surrounding area.
I went to urgent care, they found nothing, but it hurt.. and it hurt more when I coughed or bore down on it.
Dr. said no hernia, but I could be close to getting one, but there is nothing they can do unless it turns into a hernia.
Now, 2 years later, still no hernia, but I get the pain from time to time.
I'll tell you, this is what aggravates it for me... when I have sex for a long time... meaning I maintain an erection for a looong time.. say an hour or longer.. afterwards I get the pain, similar to being blue balled, but only in the right side for me.
Pain goes away in 1-5 days usually.... most of the time is just 1 or 2 days and I'm good to go.