in robots.txt
User-agent: *
Disallow: /
this will not allow the crawler access your website, will work if your web haven't been indexed.
in your html head
<meta name="robots" content="noindex,nofollow">
it will order the crawler to not index and not following any links. crawler will remove your web if its already indexed.