To house train your dog takes consistency. The best method is to crate train them. They will not eliminate in the crate as they will see it as their den. When they wake up, take them out immediately. After eating, and after play time, take them out. They will soon learn your house is also their den and will not go. When you cannot keep your eye on them, put them in their crate.