Dr F.
Roughly plan your meals in advance, like creating a menu for 2 days in advance or for a week, then go grocery shopping according to your menu/ meal plan, nothing extra, nothing less, giving you variety and avoiding last minute hurried decision of meals, especially junk or unhealthy foods.