Hold down the Command and R keys as soon as you hear the Mac tone indicating a reboot. Wait for the macOS Utilities screen to appear, then click Disk Utility. Choose your Mac's system drive, usually named Macintosh HD, then click Erase. Select the Format option Mac Extended (Journaled) or APFS.