Cook meat, poultry and fish thoroughly to ensure that food poisoning bacteria have been destroyed. When planning a menu for a hiking trip, many backpackers choose foods that do not require refrigeration. Concentrated juice boxes are also handy but heavy. Check with an outdoor supply store for foods packaged especially for backpacking. If you pack carefully it is possible to use fresh foods for meals the first day.
Many campers drive to their campsites with coolers, and have access to grills.
Foods can be prepared in advance, refrigerated or frozen, and packed with a cold source. Freeze water in a plastic jug and wrap it with the frozen foods in a plastic bag, then stuff the bag inside a sleeping bag in your backpack. This way the food will be kept cold while you hike. Water is always an important consideration on a hiking trip. You'll need it for preparing foods as well as for washing up.