My recent method for attempting to avoid having food spoil:
Keep a brief list of foods that are ripe or near expiring in the kitchen (e.g., on the counter or fridge).
For example, I have a lot of ripe pears lying around, but I keep forgetting to use them. I put "pears" on my list, and I'm reminded to have a pear as a snack instead of an orange or crackers. I'm also encouraged to use them in breakfast or a dessert. This worked with my abundance of apples, which turned into a tasty cranberry apple pie, and blueberries, which made their way into my yogurt and the kids' snacks.