How can I stop my jailbroken device from bootlooping?

I accidentally removed seb from Cydia, during the uninstall process a red error line popped up and all I could do was double tap the home button to switch tab back to home screen. I then went back to cydia this time the screen was black and my iPhone wouldn't accept any inpt so I had to do a soft reset with sleep button+ home button. Then as the iphone booted up i became stuck in a boot loop. How can I fix this please help me. It hasn't even been a month since I bought my iPhone I don't want to lose it. Please help!
Re: how to fix boot looping.

Your gonna have to put it in Recovery Mode and restore your device thru iTunes

Entering DFU Mode (Official Instructions)

1. Plug your device into your computer.

2. Turn off the device.

3. Hold the Power button for 3 seconds

4. Hold the Home button without releasing the Power button for 10 seconds

5. Release the Power Button but keep holding the Home button

6. Keep holding the Home button until you are alerted by iTunes saying that it has detected a device in Recovery Mode

Original thread: https://forums.imore.com/threads/how-can-i-stop-my-jailbroken-device-from-bootlooping.295066/