If you need to hide pages from search results, start by adding a "noindex" tag...
https://www.echobookmarks.win/if-you-need-to-hide-pages-from-search-results-start-by-adding-a-noindex-tag-1
If you need to hide pages from search results, start by adding a "noindex" tag to the page header so Google ignores it during the next crawl. For urgent requests, use the Google Search Console Removals tool to hide content temporarily