Nut is rich in heart-healthy protein and fat and you can include them in your daily diet. If nut is not store properly, they will rot quickly and this is not economical at all!

The right way to store nut
Nut can be stored with or without shells. They’ll last longer if you store them in the shell, but they are easier to use if you shell them first. So, this is a personal issue. In any case, it is important to keep your nut in a sealed container, this way the moisture level of the nuts is maintained. You can even use a plastic freezer bag for this purpose.

Store in the refrigerator
To maintain the quality of nuts, keep them away from onions and other high-odor foods as the nuts absorb the odor of the ingredients around them. Shelled nuts can be stored at room temperature for up to three months, shelled or unshelled nuts can be stored in the refrigerator for up to six months or in the freezer for a year or more. It is best to keep your nuts packages with the date, so you know which ones to use first.
Storage tip
If your nuts start to taste stale, just toast them in a 350-degree oven for 10 minutes. It’ll bring back their flavor. Just don’t expect it to improve rancid nuts. Once the oils in nuts go bad, there’s no fixing them. But as long as you follow these storage tips, that shouldn’t be a problem that you ever have to deal with.
Source: Storing Nuts Properly