Hello, thanks for using HCM.
In as much as the pains could be due to the trauma, other causes could as well account for the pains. Common causes of testicular pains include
testicular torsion ( less likely for you as it presents with severe pains requiring an immediate action),
epididymitis, orchitis and pains from an affection due to a different organ such as kidney stone.
There are two common germs that cause epididymitis mostly in sexually active individuals; Chlamydia and
Gonorrhoea germs and with a history of
unprotected intercourse, there is need for you to be screened.
It is important you see a doctor for a proper examination and laboratory investigations such as urine analysis,
ultrasound, etc in order to rule out other possible causes or complications of the trauma.
Best regards and hope this helps.