The best way is to first calm them down with their favorite things. The best way to deal with an aggressive dog while giving them an injection is to deal with them calmly. Modifying the behavior of a dog can be very complicated. This also depends on whether your dog reacts positively to praise and rewards. You can work on behavior modification and rewarding the dog once you have administered an insulin shot.