For dogs, a pack leader is one whom they can trust blindly. So, if you want your dog should listen to you and stop being aggressive then try to win his trust. Set some limitations and boundaries inside and outside the house. When your dog is seen as a pack leader his aggression will automatically stop because he won’t fight for dominance because he now has a calm and assertive pack leader which is you.