To keep almonds fresh and prevent them from going rancid, store them in an airtight container in a cool, dark place like a pantry. You can also store them in the refrigerator or freezer to extend their shelf life.