I buy whatever I'm gonna have for breakfast the eve before, u won't find 2 many places open if u leave the albergue bet 6-7 am. Then u can stop somewhere bet 8-10 am on ur Camino, there should be bares opened during those hours. U don't want to stop for too long, though, and loose the momentum of ur walking rythm.
I also like to take with me small plastic bottles of water on the road, 2 max, plus fruit, + a sandwich, for a snack. Always a health bar.
Lunch: stop somewhere along the way, restaurant in a town, city, or village, or, if none of those, a place where they can make sandwiches for u or u buy what's needed and make it urself. U may want to stay and rest, too, at this time, take a siesta under a tree for ex. It will be too hot especially in the summertime to keep on walking, and it will be daylight until about 10 pm.
Dinner, same as lunch, + u can buy food and cook it urself or with other peregrinos. There r also albergues where if u want u can pay for a dinner cooked by the hospitalera(o). I go for this one a lot of times. The camaraderie with other pilgrims before/during/after supper can be really nice, same as when all cooking together. Most albergues have cooking utensils for pilgrims that want to cook.
Best, xm 8)