The exact location of the pain and the lump were not given.
The pain in the stomach might be related to the ulcer you are going to be examined for.
As for the problem with the penis and the testicles, you might be experiencing the normal effect of the cremasteric reflex. This reflex causes pulling up of the penis and the testicle when the skin in the perineal area is irritated. This pulling up might be seen as âshrinking of the penis and vanishing of the testicles in the stomachâ.
The frequent and painful urination might be related to urinary tract infection. You might want to have simple laboratory urine test that would confirm or rule out a possible urinary tract infection.