I would advise a soft reset instead of factory reset, if that does not then a hard reset and if that doesn't work then using Windows Device Recovery Tool, which most likely would resolve the issue. but if you must do a factory reset then go to settings > System > About > Reset your phone. The option is right at the end of the About page.