How do I not feel broken?

So i have this friend who i started liking out of nowhere more than a friend i couldn't keep it inside anymore so i told him. His response was that he knew, but before i told him a few weeks before he wasn't treating me nicely and didn't want to speak or spend time with me. when i finally asked him why he said i was moving weird and it made him uncomfortable. When he told me he was uncomfortable i told myself i wasn't going to like him anymore, i even went on dates to take my mind off him. I really thought saying it would help me move on from the whole situation so we could go back as friend or friendly but i just feel broken and i don't feel like communicating with him anymore. I don't know what to do

How do I not feel broken?
Post Opinion