Back up your data
Sign out of iCloud
Sign out of iMessage
Sign out of FaceTime
Unpair Bluetooth devices
Restart your Mac
Enter macOS Recovery
Open Disk Utility
Erase the startup disk
Quit Disk Utility
Reinstall macOS
Follow the setup assistant or shut down the Mac for the next user
