If you are already inside Windows and just need to format a secondary drive, it is much easier to use the Windows Disk Management tool.
If you want to format a drive that won’t boot into Windows: how to format hdd from bios