Nail trims are often avoided by dogs and owners alike. Most dogs dislike even having their paws handled and know how much it hurts when nails are cut too short. Dog owners are often uncomfortable with the process for fear of hurting their dogs.
Dogs will develop an aversion to nail trimming once they experience pain from it. The best way to avoid this is to get it done by a vet or dog grooming person.