Pesto can be served fresh or it can be reserved in the refrigerator or the freezer. Do not add the nuts or the cheese before refrigerating or freezing as these two ingredients can spoil. Just process the garlic with the salt, basil and oil, refrigerate or freeze in an airtight container, and add the nuts and cheese just before serving.