A crate. It is only natural that a puppy resists its crate at first. What the puppy wants more than anything else is to be others, you, anyone else in the Household, and any other pets. In our modern society, even if we are home. Other things distract us from the attention an uncrated puppy must have. The Only real solution is to crate the dog when you aren't around. The dog may be Happier in its room than loose in the house. It relaxes, it feels safe in its Room. It rests; the body slows down reducing the need for water and relieving Its self. Dogs that have been crated all along do very well. Many of them Will rest in their crates even when the door is open.
Feeding your dog the right quantity and quality is very essential for its well-being, especially during its first months. Dogs were created to eat a meat-based diet, they do not really need carbohydrates, so do not think about feeding them from your left-overs or whatever you can find in your fridge!