If the nail did not split to the quick, you can safely trim it off. When the dog’s quick is exposed, perform first aid and take your dog to the vet. A vet will have the nail surgically removed.