Important things first, be sure to back up your Mac. When you reinstall macOS, all data on your Mac will be wiped. If you backed up things that are important to you, you can quickly restore them after reinstalling macOS.