This is a challenge in that you upgraded from Win 8.1 to Win 10 and probably do not have a rescue disk for Win 10. You can try to download Windows 10 from Microsoft.com but you will need a license for Windows. You should be able to make a bootable USB from the download, you will need 32 GB.
If you have another computer with Win 10, you can try setting up the drive as an external and connect it to the other computer to run disk checks. There are some other tools available online but be careful not to download from dodgy sources, look for disk rescue utilities.
Good luck