If you had protected sex, you had no risk for any of the infections that might cause testicular pain. Have you been examined by a doctor? Had any testing done, like a urine test? Did you receive oral sex, too?
Don't take any more antibiotics until you see a doctor.