If you need to hide pages from search results, start by adding a "noindex" tag...
https://www.list-bookmarks.win/if-you-need-to-pull-pages-from-google-search-results-you-have-a-few-reliable
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 from its index while keeping the page live for users