Our dog will respond better to any handling if we get him used to it from a young age. As a puppy, his nails should be trimmed very little, which makes them less sharp. It is also recommended to manipulate and massage the paws of our puppy daily. This way, he will be more easily touched and cared for as an adult. A dog that is familiar with these gestures will participate much more easily in his nail trimming than one whose paws and toes are never handled.
If, for example, you have adopted an older dog that has not been used to it, you can ask for help from someone close to you. Ideally, someone who lives in the same house and whom the dog is in regular contact with. This person will be able to hold our dog and distract him with treats while we trim his nails. If our dog growls, shows its teeth or tries to bite, it is recommended that a muzzle be used as a precaution. If our dog is sensitive and we catch a nerve in one of his claws causing a sharp pain, he will have a natural and impulsive reaction of perhaps biting us.
Read, but especially watch the two videos at the bottom of the page of Globalvet which give good tips to hold and distract your dog standing and sitting during nail trimming.