A robots.txt file is a file at the root of your site that indicates those parts of your site you don’t want accessed by search engine crawlers.
In order to make a robots.txt file, you need access to the root of your domain. If you're unsure about how to access the root, you can contact your web hosting service provider.
Please find more information about the Robot.txt file here:
And information about how to create the file here: