<human>: Hi guys,
Got a 11 week old French Bulldog puppy here, and am crate training him. He's usually very good about going on the pad (which we are using until we can take him outside of the apartment, with the parvo shots and all). 

He is usually quite good about going where he is supposed to, but some days, he begins to act up, and just go on the carpet, I guess to test us, or to try and get a treat out of us.

I know I am not supposed to discipline him if I just happen to find a secret surprise, and for the most part, I have been training him by being patient, consistent and rewarding positive behavior, while ignoring and halting the bad stuff.

But I'm curious, how should I react if I catch him doing the wrong thing, and see him doing it, but can't get to him in time?

Thanks!

Give me the gist of the text in a nutshell
<bot>: Puppy sometimes pee's where he isn't supposed to. How can I properly discipline him if I catch him in the act?