Step 1 – Go to Google Search Console Web master (url is available in screen-shot).
Step 2 – Verify your Property from your DNS provider.
Step 3 – Follow the step that are given in Message
Step 4 – Edit your robots.txt from your hosting server.
Generally it’s find at root directory. Code will look like this: