To restore your Mac to factory settings, you can use the Erase All Content and Settings option provided by the operating system. Note that performing a system restore will erase your settings, data, and apps, so create a backup first. To proceed, click the Apple button > System Settings > General. On the right, click Transfer or Reset, then click Erase All Content and Settings.