The easiest way is to install it .
Then format it.
This will make it appear as if it contains no data. All old data will be overwritten by new data.
If you need to completely get rid of the data on it,( giving it to someone else) use a program such as drive sweeper to write6 passes of 0sand1s to it.