I generally plan ahead, and eat everything before the expiration date, and I don't buy excess food.

If there's lot of food, usually when my mom has given me, I just eat them in the order of expiration dates. So they won't expire.

But if all these measures have failed for some reason. I usually have thrown them away. I might nuke them twice as long, if it's only one day old.