Testicles pain

Patient: For some months I am suffering from testicle pain followed by stomac pain like due to gastric. I’m getting releaf only after a masterbation everytime. Can you please help me?

Doctor: