Dogs naturally follow a leader in a pack. Thus, you have to establish being a leader, so that your pet would follow your commands.
Establishing your dominance does not mean that you have to hurt your pet. One example of it is to show him that you are the one to eat first, before giving him his food.
Reward your dog’s good behavior.
Giving rewards to your dog should not be limited to whenever he follows your command. Whenever you see that he has done something good on his own, you should reward him to encourage that behavior.
By doing this, your dog would be able to know that he has done something good, and would do it again and again.