You are welcome to this forum.
There are a good number of possibilities as regarding the pain and swelling of right testicles. You might be having:
- testicular tumor
(benign or malignant depending on your age; mostly advanced age)
- testicular torsion
It will be good choice if you paid a visit to your doctor as soon as possible. CT scan/MRI
will need to done earlier and some blood test
and urine test done too. Two of the above mentioned conditions are medical emergencies.
Anti-inflammatory; steroidal or non-steroidal will relieve pains before you meet your doctor.
Hope this helps