Can epididimytus cause bad pain in the testical

hi, i went to the doctor yesterday worried about my teste one was swollen and painful he said he thinks its an infection has anyone had this before im in quite a lot of pain started antibiotics today also im worried he missed diagnosed and it is something more sinister or am i just being paranoid ( again) i have health anxiety should i ltake the antibiotics 3-4 days and call back if no improvement?