My buddy set up an electric cattle fence around his coop to keep coyotes and foxes out so I'm sure you could use it to keep a pesky *** dog out of your pen and it wouldn't cost u more then a couple hundred bucks either that or grab your dog beater and get at it lol