You should only reset your iPhone to factory settings as a last resort and not as a regular maintenance task. It is recommended to do it only if you are facing severe performance issues that cannot be fixed by any other means.