By trying again, and again and again...untill she gets used to and friendly towards them. You want to praise her when she shows a positive interest on other dogs and reprimend with a big NO when she turns agressive towards them.
Also, i meant to tell you before, my breeder also has a forum (in portuguese) and here is the link in case you wanna take a look!
Forum Amantes do Yorkshire Terrier