Reinstall mac os x
Step 4: Reinstall a clean Mac operating system. Restart your Mac. While the startup disc is waking up, hold down the Command+R keys simultaneously. Click on Reinstall macOS (or Reinstall OS X where applicable) to reinstall the operating system that came with your Mac. Click on Continue.