If you need to hide pages from search results, start by adding a "noindex" tag...
https://www.apollotechnical.com/how-to-remove-your-own-site-from-google-search-results/
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. For immediate results, use the Removals tool in Google Search Console