How can I automate a website using selenium WebDriver?

Can anyone please tell me how can I automate a website using selenium WebDriver.