If you need to hide pages from search results, start by adding a noindex tag to...
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 header. This tells Google to drop the content during its next crawl. For urgent needs, use the Removals tool in Search Console to hide URLs immediately