As per your query,you are having infection of testis,epididymis
and spermatic cord
If the pain is severe,you have to use Injectable antibiotics and anti inflammatory drug for 1 week.Then,you can convert them into tablets.
It will take some time for complete recovery
But,it will come down.
Nothing to worry
Wish you speedy recovery