If you don't plan on eating the cookie right away, you can store it at room temperature in an airtight container for up to 3 days. Alternatively, you can wrap individual slices in plastic wrap and store them in a freezer-safe container or zip-top bag in the freezer for some extended time.