I wouldn't use one on a dog so small as a yorkie, even if it's set at the lowest voltage it can still be too powerful for such a small dog. We've used them on a boxer before, but it didn't do any good, he got "immune" to the shock.
I would try positive reinforcement training