What can you do if you take your dog with you wherever you go and he's still a puppy but the size of a full-grown dog and he has become possessive of you and tries to attack if another dog is around?

You can no longer take him with you until he is trained to behave. See a dog trainer.