Here are a couple articles that will help you troubleshoot this issue. In the first article, see the section labeled How to reset an iPod with a Click Wheel if you device is a 5th generation. Keep in mind with this step, it sometimes requires multiple attempts. You may have to restore the device if the issue persists. The second article will walk you through this process.