These methods should generally be avoided as they can cause physical harm and emotional distress to pets. Instead, focus on positive reinforcement training techniques that reward desired behaviors like staying inside the yard or away from the fence.