I have pain in my left testicle that comes on

Patient: I have pain in my left testicle that comes on at night. What can it be?

Doctor: