If you need to hide pages from search results, start by adding a "noindex" tag...
https://www.bestbookmarks.win/to-remove-pages-from-google-search-results-start-by-adding-a-noindex-meta
If you need to hide pages from search results, start by adding a "noindex" tag to the page code. This tells Google to drop the URL from its index over time. For an immediate emergency block, use the Search Console Removals tool