The simplest way to do that is with a factory reset, which wipes your data from the hard drive and returns the computer to its original settings ... erase the drive (using the Mac OS Extended format), ...