Thanks for your query.Based on the facts that you have posted it appears that you have sustained injury
to your Right testicle while playing, resulting into swelling of that testis.
You have already taken medication for the same and it has subsided to considerable extent.
The pain and swelling is bound to be there for couple of weeks .
Please take anti inflammatory medications and painkillers after getting prescription of these drugs from your family Physician.It should get cured in 2 weeks..