I had my Ember squat and pee on the dirty clothes in the bathroom (right in front of me while I was on the can). She had peed on the clothes maybe once or twice before.

I grabbed her by the scruff of the neck and stuck her nose in where she peed and screamed at her. I got my arm all clawed up. I wasn't out to hurt her just hold her in place to know what she did was wrong. I'd rather hurt myself than hurt my fuzzy friend.

Ember loved to sit in the bathroom window and watch the people in the park lot. I locked her out of the bathroom for a week, I also totally ignored her for a week..... As she is an attention fiend that really bummed her out the most.
She hasn't peed any place but her litter box since then.