Host file can be found here:
C:\WINDOWS\system32\drivers\etc
To edit it just open it with notepad or any text editor.
PS: stop asking for auto things to do simple stuff. If you always ask for help from others you will never be able to achieve anything by yourself even IRL.
So next time make sure to dig a bit before asking.
Remember google is your friend. If you had search for "host file" on google you would have had your answer. It would have saved you time, and I wouldn't have wasted mine answering.
So I wasted my time, but, maybe, by any chance, next time you will have a question, you will make sure to find your answer on your own. And other lazy people like you would do the same.
That's what I hope...
Anyway cheers!