Your yorkie thinks that he is the pack leader. Change his mind by eating your meal in front of him before you give him his meal. Don't allow him to enter or exit a room before you do.  
My yorkie started sleeping on my pillow, a higher place than me obviously. I don't allow this anymore as the pack leader always remains in a higher position than the other members of the pack.  
Assert your dominance (find out more on this) and your dog will learn that he is not in command and he will listen to you as you are now the pack leader.     |