HI, thanks for using healthcare magic
can be caused by bacteria associated with urinary tract
infections or bacteria associated with sexually transmitted diseases.There are other potential causes such as tuberculosis
(in area where this disease is commonly found) and rarely, secondary to inflammation.
In some cases of epididymitis , with the use of appropriate medication, the pain resolves after 1 to 3 days , though the swelling may take several weeks to resolve.
To determine the cause your doctor would have done tests such as urine analysis and culture of the urine and also culture of any discharge that is present.
The antibiotics used would depend on the exact cause of the problem.
In addition to the use of antibiotics, you can also:(1) reduce physical activity
(2) support and elevate the scrotum
(3)use ice packs
(4) use anti inflammatory medication such as NSAIDS (ibuprofen/cataflam/voltaren
(5)try sitz baths. this would involve the use of warm water (not hot) , usually with salt dissolved into it. You would use this for 10 to 15 minutes, 2 to 3 times a day.
If the pain continues with no improvement over the next few days then you need to re visit your doctor.
I hope this helps