You can use Disk Utility to check a disk for problems, then repair them using First Aid.
For more details please refer to the following article,
Verify a disk using Disk Utility on Mac