Quit Preview with six PDFs open and the next time you open it, all six are back. Some people love that. If you don’t, there’s one switch for it.
Open System Settings, click Desktop & Dock and scroll to the Windows section.
System Settings > Desktop & Dock > Windows
Close windows when quitting an application: on
Apple’s description is short: app windows are closed when you quit an app, and they don’t reopen automatically the next time you open it. So Command-Q really means “I’m done”, and the next launch starts empty.
I like this for apps like Preview, TextEdit and Terminal, where yesterday’s windows are rarely what you need today. It also keeps an app from opening a huge file you looked at last week, which can make the launch slow.
An example of the difference: with the switch off, quit Terminal with three tabs and they come back at the next launch. With it on, you get one fresh window.
It’s one switch for every app, and some apps have their own setting that wins. Browsers, for example, have their own choice of what to open at startup. The same section has a neighbour worth reading too: “Ask to keep changes when closing documents”. By default unsaved changes are saved for you when you close a document; turn that on if you’d rather be asked.
Further reading: Change Desktop & Dock settings on Mac (Apple)