If you need to hide pages from search results, start by adding a "noindex" tag...
https://lukasnpyy234.cavandoragh.org/is-it-better-to-noindex-or-redirect-an-outdated-page-a-technical-seo-guide
If you need to hide pages from search results, start by adding a "noindex" tag to the page header. This tells Google to drop the URL from its index. For immediate results, use the Google Search Console Removals tool to hide content temporarily