please help iphone stuck after jailbreak

I jailbreaked iphone and then reseted it to its original settings in the setting menu. I was clearing the phone and then resulted in logo of pineple with circle spinning. Its like its trying to turn on but its stuck. Its also not recognized by my computer when i plug it in. I tried to hard reset the phone, no luck. Is there any way to reset it or reinstall? the problem is that it doesnt connect to the computer anymore...
You are going to have to put the phone in DFU mode and restore it, you're not supposed to use erase all settings from inside the menu on a jailbroken phone.

DFU Mode | iPhone News, Help and Guides
For future reference there's an entire jailbreaking section on this forums
ok how do i do that?
ok got it i ll try that, thanks
don't go bricking your poor iphone now!!
This is the exact reason you should use the search button. I searched and searched and researched quite a bit about JB/unlock and changes files. I suggest everyone should do the same.

Original thread: https://forums.imore.com/threads/please-help-iphone-stuck-after-jailbreak.180560/