Go to Settings > System > Advanced > Reset options on your device. Tap on ‘Erase all data’ to reset your device.