Before heading out on your day at the beach, pack a cooler with ice packs or a block of ice before adding your food. Keep your food in the cooler until you're ready to serve it, and pack up leftovers promptly after enjoying them. This will keep your food cool, safe to eat, and bug-free.