Penicillin allergy

Patient: Recently i went to the doctors to with a sore throat, i was perscribed azithromycin. i was wondering could i have an alergic reaction to this medicine if i am alergic to penicillin?

Doctor: