thanks for query.
You have Epididymo Orchitis
.This is an infection of testicular Gland.
It may be a viral origin & then you get secondary infection.
A broad spectrum antibiotics with an anti inflammatory medicine & support to testicles with nicker will help you further.
It may take few days to resolve.