Follow this link http://www.robotstxt.org/wc/norobots.html Also please search on google before making any post.
Using robots.txt you can hide directories, files from SEs, by making crawl disallowed. A usefull resource about robots.txt