I was downgrading my iPhone to IOS 11.4 Beta 3 in order to jailbreak it, at the time, my phone was connected to my computer and the iTunes app had a pop up saying there was some sort of error and I had to enter my passcode for some odd reason. I looked at my phone and it said "Swipe up to Recover" and I then proceeded to put my passcode in. I was greeted by a loading screen where it said "Attempting Recover", once it was done it said "Recovery Failed" and returned to the Swipe up to Recover screen. I repeated this many times now, tried resetting the phone, and tried reconnecting my iPhone to my computer to no avail.