A structure called epididymis
is present over the testis.In some,both the testis and epipidymis get enlarged due to infection.It will be painful.
Please go for a Colour doppler of the scrotum
for correct diagnosis.
Till then,please take antibiotic Cefuroxime
and anti inflammatory drug.
Nothing to worry
Wish you good health