How can I hide all posts from a custom post type from search engines and local search?

Hi,
I know that there are plugins such as SmartCrawl that help us hiding single posts from search engines and wp-search.
So now I’d like to hide all posts from a custom post type, even better without SmartCrawl (cannot use it on German sites).
How to achieve this?
Thank you and kind regards,
Sascha