That's why they call them yorkie yappers!
I'm no help, am I? I'm certainly not the person to ask about this. Some bark to get your attention, some because they are territorial, etc., and probably some bark because they are bored. It wouldn't surprise me, since you are a new owner, that the barking could be caused by anxiety and stress over a new home. It depends on the reason your furbaby is barking. First, you need to know why your baby is barking and try to go from there.
My last yorkie just loved to bark at people walking! Luckily, not that many people walked down our street. It was simply her being territorial.