How to dominate your dog
If your dog comes up to you and wants attention ignore him, then in your own time call him and pat him.
Make him do something for you before you do something for him e.g. make him sit before feeding or getting a pat, make him wait before going in or out the door, car, gate, etc.
Make him lie down - this is a submissive position.
Dont let him wander off on his own especially at the park, keep him on the lead until you have gained control - use a longline if need be to teach dog you still have control even at a distance.
Make sure that he always obeys your commands by only giving a command when you can control him e.g. dont call him when he is too far away from you, it is unlikely he will come, wait until he is close to you then call him and praise him when he comes to you and sits. Every time you give a command and can not enforce it you have taught him disobedience.
If your dog will not come inside when called close the door and ignore him. If he then comes and scratches at the door continue to ignore him, then when you are ready go and open the door and call him again (even if he is sitting at the door or coming towards you) then praise him for coming. If he does not come again repeat the procedure until he responds to your command. The same applies for going outside.
In all these exercises the emphasis is on you giving a command and the dog obeying - this is dominance. If the dog dictates when he wants fed, attention, let in or out he will consider that he is the boss - after all he is giving the commands.