I don't think dogs do things because they are rebelling, not like people. Please don't let your boyfriend yell at her, this is not helping matters and it will only frighten your little yorkie

Sometime the little ones have accidents, when she does use her peepad praise her like crazy, let her know she did a good job!, and a treat doesn't hurt either