I was prescribed Norfloxacin for an upper respiratory bacterial infection Was that a proper medication prescription?

Hi, I was prescribed Norfloxacin for an upper respiratory bacterial infection, after 2 days i got a sever sore throat?
1. Was that a proper medication prescription?
2. Is the sore throat an allergic reaction to the antibiotic? I also had mild diarrhea
Thanks