To block access to content on your website for all crawlers, use User-agent: * Disallow: /
For example:
User-agent: * - blocks all bots
Disallow: /folder1/ - blocks the specific pages or folders
or
Disallow: / - blocks the entire website