There are a few different methods for keeping a dog contained. Most simply, keep the dog inside the house at all times. Don’t give the dog the opportunity to escape at all. The disadvantage with this approach is that the dog must be let out multiple times a day for exercise and bowel movements.
Another option is to build a confinement fence. Fencing off the edges of a yard will give the dog free roam of the land, while keeping it confined to one location. There are lots of different fences to choose from. They can be built relatively cheaply or be extremely elaborate in their design. Regardless of the type of fence, all of them should serve their purpose – that is, to keep a dog contained.