In many cases, epididymitis and orchitis occur along with urinary tract infections. Treatment includes medicine to get rid of the infection. It also includes medicine and other methods to ease symptoms.