So you can do these steps without any issues.
Here I am going to explain you step by step on how to Reformat Windows 10. Please remember that whatever you are doing is irreversible. While reformatting you will retain that windows 10 so don’t worry. So if your disk is working properly to get files and it’s creating some other problems like virus issue then take a complete backup of that drive before reformatting.
While reformatting all the data from your disk will vanish. Reformat windows 10 which literally means formatting the disk or a disk partition to get rid of the corrupted data, Clean the disk drive.