How to Downgrade back to ios 7 from ios 8 beta?

So I tired out the ios 8 fo iphone 5 and it was extremely buggy and stuff and of couse i get that its a beta so thats why but it irritated me. But anyways how do you go back to Ios 7? I restored it and used a back up i had done when i had 7 and still stayed as 8…

You can't downgrade iOS once you've upgraded.

Unfortunately, you might have to use the same iOS 8 Beta for a while (until this fall).

Of course, its a beta.

First be sure to have your UDID registered using a place like http://ios5activations.com/

If you don't register the UDID the beta will not activate.

Now if you'd like to downgrade when on iOS 8 beta you just need to download the iOS 7 firmware file and using option/shift Restore in iTunes to select it. And that's it.