As soon as you wake up in the morning, don't do anything before you pick her up and march her outside. If/when she goes potty, praise the heck out of her like she did a cartwheel or something. Even give treats if you think it would help. I start this with my pups when they are young so they know what I expect. Never yell when she does something wrong--it only confuses them more and makes them even more crazy. A stern "No" followed by the squirt of a spray bottle can help, too. (Make sure it has a long, steady stream and not a mist. That won't do any good!) Or a shake can (soda can with about a dozen pennies in it, covered with duct tape so they don't come out).
Whatever you think will shock her enough to stop her from doing what she is doing! Then when she behaves, even if just for 3 seconds, praise again. Make a BIG deal out of the improvement. Do what you can to re-adjust the bad behaviors... I know Yorkies can be stubborn, so keep at it.