There is no single best answer to this question. Partly it depends on the dog's size and age and partly it depends on your budget and beliefs. Older dogs are generally less active and thus need to reduce their calorie intake. Dog foods for older dogs are specifically designed to meet this requirement. Puppies need lots of calories to support their rapid growth, and dog foods for puppies meet this requirement. Some dogs develop allergies and there are dog foods that are specialized and eliminate certain proteins (e.g. beef).
There is also the question of feeding "raw" food versus kibble versus canned food. Good arguments can be made for all three or combinations. We recommend that you talk to your veterinarian about which choice is best for your dog and your budget.