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 header. This tells Google to drop the URL from its index naturally. For urgent privacy needs, use the Search Console Removals tool to hide content quickly