Thanks for the question. I understand you are experiencing issues with your iPad. From the symptoms you described, it sounds like you are being prompted to restore continuously. The following article outlines information on restore loops:
Restore loop (being prompted to restore again after a restore successfully completes)
Troubleshoot your USB connection. If the issue persists, out-of-date or incorrectly configured third-party security software may be causing this issue. Please try to troubleshoot security software issues.