You can usually reset your phone to factory settings through the settings menu. Look for the "Backup & reset" or "System" section, and there should be an option to reset your device. Be aware that this will erase all data on your phone, so make sure to back up your important data first.