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 during the next crawl. For urgent removals, use the Search Console Removals tool to hide pages temporarily