Weird pain in testicle when going to sleep

Fir the past few days when I go to sleep I have a weird throbbing pain in my left testicle. When I lie on my side it gets worse. Should I call my gp ? (I'm 17) in the day time I don't really notice it. It is quite uncomfortable and hinders my sleeping