We strongly recommend you perform disk verification and repairs using the Disk Utility application prior to reinstalling Mac OS X. To verify and repair your hard drive, follow the instructions at https://support.apple.com/en-us/HT201639.