Usually we'll tell him to not do whatever he's doing to get in trouble... the first time, we're nice but stern. The second time, we're stern and we warn of a time out. The third time is a 3 minute time out in the corner... before we let him out we ask him if he knows what he did to get in trouble, we discuss the situation with him, he apologizes and goes on his merry way.