Friends with benefits

Right ladies I need your help ........ well I've been getting with this boy for about a year now and I started to get feelings for him but he has recently just told he likes someone else .... 😕it has made me a bit upset.... we have had sex a few times but I don't want it to end I feel like if he was to get it a relationship I don't think I could be friends with him anymore .... he still wants to do stuff even tho he fancies someone else .....

What do I do ????????