Here are the methods for both scenarios.
If you want a verifiable, more thorough wipe, use the format command with a zero-write flag. This works on secondary drives (not your main C: drive). how to wipe a hard drive windows 10
When in doubt, physically destroy the drive: drill holes through it, then take it to an electronics recycler. But for most of us, a good software wipe is more than enough. Here are the methods for both scenarios