Dogs are very curious creatures and when encountering a porcupine they may get jabbed with some quills. Porcupines in self defense may curl into a ball or even ram another animal and jab it's quills in the opponent. It is important to have the quills removed as soon as possible.