It really does take time... It's horrible at first but I PROMIS you will start feeling better one day. One thing that helped me was reminding myself not to take things personally. My eX was talking to other girls 2 weeks after we broke up. I was so upset and just couldn't fathom it!!! But I realized that is not a reflection of me... It is a reflection of him and his brokenness. I believe a big problem of ours is that we determine our self worth based on others approval/attention. We need to learn to feel good about ourselves... ON OUR OWN!!! It is so hard but I hope it can be done. When we know that we are worthy and lovable and acceptable as we are, we are less affected by what others do.
Sorry that was a lot of rambling! Hang in there!!! Be kind to yourself today.