My pets were not allowed on the furniture. I trained them with squirt bottles and mouse traps. In the kitchen I’d hand towels over the edge of the counter held in place by aluminum pans. I’d put sticky tape (sticky side up) and the cats learned to stay on the floor. Mouse traps taught the dog to stay off the window ledge. I loved my pets but they knew their place. And, I used mousetraps because rat traps are viscious.