Restore iPod touch to factory settings
You can use a Mac or Windows PC to erase all data and settings from your iPod touch, restore iPod touch to factory settings, and install the latest version of iOS.
Important: Restoring your iPod touch to its factory settings erases all your data and settings. However, before iPod touch is erased, you have the option to back up your iPod touch. If you make a backup, you can use the backup to restore your data and settings on your iPod touch or on a new device. See Restore iPod touch from a computer backup.
Do one of the following:
In the Finder sidebar on your Mac: Select your iPod touch, click General at the top of the window, then click Restore iPod touch.
Note: To use the Finder to restore iPod touch to factory settings, macOS Catalina is required. With earlier versions of macOS, use iTunes to restore iPod touch.
In the iTunes app on a Windows PC: Click the iPod touch button near the top left of the iTunes window, click Summary, then click Restore iPod touch.
Follow the onscreen instructions.
See the Apple Support article If you can’t update or restore your iPhone, iPad, or iPod touch.