The most important thing is keeping moist cookies separate from dry, crunchy cookies. Segregating strongly-flavored cookies into their own containers also helps. Dry, crunchy cookies will keep for a while without needing to be frozen, but the rest, yup - freezing is best!