Nuts can turn rancid, even in the freezer. The best strategy is to roast them as soon as you get them; this will help their flavor and add to their shelf life. Spread them on a sheet pan and roast in a 350ยฐF oven for 15 minutes. Stir around once during the roasting. Once you have roasted them, store nuts in the freezer.