Tools like Windows Error Checking and the chkdsk command are included in your Windows-based operating system already but some others, like those below, are available from hard drive manufacturers and other developers.
There are many free hard drive testing programs available to help you determine what, if anything, is wrong when you suspect there may be a problem with a hard drive.