Instructions on how to perform a factory default can be found in the User's Manual for your product. You will find the user documentation on the Support page for your respective product:
Please note that you will loose all settings, including IP address and passwords.