friends with a ex?

so my boyfriend is still friends witg an ex of his, i dont know how i 100% feel about this (like i should be mad but at the same time i dont care) so i thought i would come on here and get a few opinions...... what do you think about your boyfriend still being friends with an ex or someone they have had sex with/wanted to have sex with