No matter how I say this it will sound like I am being a smart elec
, I don't mean to, but.... Dog's don't understand english, they understand body language and tone of voice. You might try saying NO and pick her up and take her outside (during the pooping process)
Yorkies can be difficult to house train. You must be patient, persistent and perservere and really praise her when she get's it right.