I'm not a baker but would like to try to make some cookies this year. How far in advance can I bake the cookies

Can I freeze the dough ahead of time and then bake a day or so before or can I bake the cookies and then freeze?


Any type of cookie/dough that works best when frozen?