Windows presents you with three major options: Reset this PC, Go back to an earlier build and Advanced startup. Reset this PC is the best option for starting fresh. Advanced startup lets you boot off a recovery USB drive or disc and “Go to an earlier build” is made for Windows Insiders who want to roll back to a previous version of the OS.
Depending on whether you want to keep your data files intact. Either way, all your settings will return to their defaults and apps will be uninstalled.
If you chose to “remove everything” in the prior step. Cleaning the drive takes a lot longer but will make sure that, if you are giving the computer away, the next person will have a hard time recovering your erased files. If you are keeping the computer, choose “Just remove my files.”
Windows will then restart and take several minutes to reset itself.