You must catch them in the act. When that happens, firmly say NO while picking them up and putting them in a room without carpet. That's what I did. And it works. They both now "go" in the bathroom. Granted this had to be done quite a few times, however it worked.