as soon as you get home.
Consider buying milk in smaller quantities if you regularly struggle to use a full gallon before its quality declines. This can reduce waste and make it easier to keep milk fresh.
A swollen milk jug is not something to ignore, even when the printed date has not passed. When in doubt, protecting your health is more important than saving a container of milk.