How do I get my 10 month Yorkie to tell me she needs to go out? If I'm not watching her and her usual strut at the moment she needs to go out, she'll go on the floor

. My other Yorkie barks when she wants to go if no one is in the same room. How do I get Peanut to start "telling" us when she has to go?