Everyone is giving great advice. I've read not to expect too much in the potty training area until they are at least 5-6 months old. Before that age their little bodies just aren't developed enough to hold it well. The same source also stated that a yorkie may not be trusted to have free roam of the house until 18 months of age.
My wonderful yorkie, Oscar, is 5 1/2 months old and still has a ways to go in the potty training area