Broke up with boyfriend.

So today I just ended my relationship with my boyfriend and asked if we could go back to being best friends. I know I hurt his feelings but i do feel like it was something I had to do for me to get a better understanding of my feelings. However, I can't help second guessing my decision. I have no clue what to do or where to go from here.