If the dog is severely freaked, I personally would start at the vet, for light sedation and to have the worst of the mats removed. I had to do this with my Westie when I first adopted him. He had been malnourished, neglected and abused, and was freaked out by all sorts of stuff, and had a skin problem to boot. The first grooming was done with light sedation at the vet.