My ex's friend

I really like my ex's friend but he just told my best friend that I'm seen as a no go zone because I made a mistake dating his friend. I don't know what to do. I really like him. I just want to curl up in a ball and cry. Why do we have to be restricted by or mistakes...