Restore is covered in the manual
If you are unable to restore, then type "unable to restore" into the search bar at the top of this page by Support and read the resulting help article.
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
If recovery mode does not work try DFU mode.