For Yorkies, changing the tone of voice is often enough. A serious offense can be punished. But in no case should you hit.