how do i clear a western digital hard drive?

Are you looking to just clear it - or do you want a secure erase (i.e. disposal of the drive or selling the drive)?

i7Baby mentioned how to reformat the drive, which will make the drive appear to be empty. A program like kill disk (free download) http://www.killdisk.com/ will totally wipe the drive making any files unrecoverable.