All the above information is excellent advise. I have been through it all
with my "good boy"

The only other suggestion I would add it
when you place his food down make him sit and look at you then release him to eat by saying ok. This gives you full control over the food. Do not give him food while your preparing it. Also when giving snacks always make him sit first. Buddy tried many times to be boss and at the beginning
he was but when I realized what was happening I turned it around fast.
He tried dominating the bed, couch, food, toys and me

I tacked one
things at a time and today he knows who's boss
Good luck. These Yorkies are too smart for their britches.