If you need to hide pages from search results, start by adding a "noindex" tag...
https://future-wiki.win/index.php/Canonical_vs._Noindex:_Which_One_Wins_for_Deindexing%3F
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 over time. For an immediate emergency block, use the Search Console Removals tool