First, if you're unsure how to access your .htaccess file click here for a guide.
Once in there, just copy and paste this code into the top of the file then save it:
order deny, allow
deny from all
allow from 18.104.22.168
That's it :) it should work straight away though you may have to refresh the page in case it's cached by your browser.