A factory reset wipes down everything and doesn't keep files.
If that's what you want, a factory reset, you should back up your files. Then go to Settings > System > Recovery > Reset this PC, and choose the option that deletes everything.
If you need to keep files, it is not a factory reset, but a system refresh. Same steps above, but when prompted, choose keeping files.