How can I perform automation testing of my website with selenium script written in Java?

Can anyone please tell me how do i perform automation testing of my website with selenium script written in Java.