I got an iPhone 4 and it's turning off and on every time it's turned on,Stuck on Apple logo.I put it into DFU and when I restore I get error 21,Also When I try reboot/Jailbreak it turns on and off all the time during process so it never finishes to get the phone booted.What Can I do please?

Thanks in advance.