Girl shit tests. I react with threatening a punishment (like a spanking). She continues, and I follow through.

Did I lose frame because I reacted? I did justify her poor behavior with attention.

How do I determine when to use common responses (A&A, Ignore, etc.) vs threatening kinky punishments?