Help plz my iphone

my iphone 5 is jailbroken and i accidentally pressed reset all contents and setting and it is stuck on the updating logo on 0 % and i tried to connect to itunes and restore my device but a notification comes on my computer that there has been an error updating it... plz help and thank you
Put it in DFU mode and try again. It may take you several attempts, but it'll eventually take.

Original thread: https://forums.imore.com/threads/help-plz-my-iphone.348366/