I have a jailbroken iPhone 6,but I've been using it for 1 month and I decided I didn't want to anymore so I went on settings and erased all content and data but it made my screen stuck on the boot logo and loading bar ,what should I do?
Put it in recovery mode and restore from iTunes.
To put it in recovery mode, turn the phone off if possible (by holding down the power button), if not possible hold down both the power and home buttons to do a hard power off.
Finally, connect the Lightning cable while holding the home button, the phone should power up and then display the recovery mode logo; at this stage you can release the home button.
The rest of the process takes place on your computer.