Welcome to Healthcare Magic
You could be having Acute epididymitis
which is infection on a part above your testis. Have you done a urine test. Drink plenty of water. You need to confirm the presence or absence of infection by urine test. Take pain killers for pain relief under your Doctor's advice. You may need antibiotics for treating the infection once confirmed.