When trying to get back to a recent document, program, or server, a quick way to do it on macOS is to click on the Apple () menu and select Recent items. This displays a list of three headings – applications, documents and servers – with a number of entries listed under each heading (see image below):
You may find that the list is a little too long (or short) for your liking, in which case it is a way to edit how many items displayed under Programs (for reasons) known only to Apple, the number not is changed for documents or servers).
To do so, start System Preferences from the Dock or select Apple () menu> System Preferences. When System Preferences opens, click General, and then click the number that appears next to Recent Items (see screenshot below):