I was diagnosed with epididymitis 2-3 months back, about 3 weeks after I had unprotected sex. I was prescribed
doxycycline first. They helped, symptoms went away in 4ish days.
I took doxy for 2 weeks nonetheless, 100mg twice a day. A week or two after I quit the meds the symptoms came back. After that I've been described various antibiotics (Pronaxen, Norfloxacin, Dalacin), none of which eased my symptoms (ache and discomfort in the right epididymis).