Prior to surgery, a doctor may attempt to untwist the testicle to relieve the problem temporarily. In addition to pain medicine, the doctor will give you antibiotics for 7-10 days. The particular antibiotic used will depend on your age and on your allergy, if any, to medication. Rarely, a man with epididymitis will need to be admitted to the hospital. The pain should go away within 1 week.
Hernias usually require surgery.
If you have severe pain that cannot be relieved, doctors may do surgery immediately. Men with testicular cancer will be referred to a urologist for further treatment. If you have testicular torsion, your recovery depends on how long you waited between onset of symptoms and surgery. The chance of saving a testicle decreases as more time passes. Men with epididymitis generally recover without complication.