Just friends :/

So I told one of my guy friends that we had to be “just friends” the other day. We used to flirt a little and all that but he got kinda weird and mad when i told him and now it’s awkward, what do I do