Choose Apple menu > Restart, then immediately press and hold Command-R. In the Recovery app window, select Disk Utility, then click Continue. In Disk Utility, select the volume you want to erase in the sidebar, then click Erase in the toolbar.