If you need to hide pages from search results, start by adding a "noindex" tag...
https://www.kilobookmarks.win/need-to-clean-up-your-search-results-use-a-noindex-tag-in-your-page-header
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. For immediate results, use the Google Search Console Removals tool to hide content temporarily