Best friends ex boyfriend 🤦🏼‍♀️

My best friends ex boyfriend has been snapping me and trying to get me to hangout ever since I met him the other day. They’ve been broken up for a while but have the same friends and still hang out a lot. I also think she still has feelings for him. How do I nicely tell him to leave me alone? Do I tell her?