Make sure any dates on the packages or cans haven’t expired. Don’t purchase cans that are bulged or swollen. Store unopened dry foods in their original packages and keep opened products in airtight containers.