Allergy with dogs

Hello, I have small pimples all over my back and when I have been to the doctor this morning, he asked me if I had any pet. I do have a dog and according to him, I have developed an allergy with dogs. Can you please explain me clearly what's the trouble? Thanks in advance.