Phone in Boot Loop after Unrooting

A

AC Question

So basically, a long time ago I rooted my Samsung galaxy s6 edge but i then realized that for me, rooting was pretty much pointless for me. So i went into the SuperSU app that came with the root, i went into the settings and selected the unroot option, which was supposedly going to do would unroot my phone. After i clicked on it, the app told me that the phone would have to restart in order to complete the process. So my phone restarted, and now the phone just is on the screen which says "Samsung Galaxy S6 Edge, Powered by android". This screen comes up, disappears for a few seconds, then comes back again. My phone is stuck in this loop, and i dont know what to do. does anyone have a solution to my problem?