There are solutions to make nail trims easier. These are to desensitize your dog to it, use a different style of nail clipper, or use a Dremel instead of a clipper. If a dog is extremely aggressive and you're afraid they may bite you, assistance from your primary vet would be the best place to start.
More useful articles on a similar topic 👇
How do I trim my dogs toenails?How often should a puppy be groomed?