hello and welcome to healthcare magic.
from what you describe it could be because of the accident you have had, it would be better if you consulted a general surgeon
or a urologist
for the same. if there is torsion of testis which would present with extreme pain it would need emergency intervention.