How do deal with being jealous?

I have a friend online and i really enjoy her company and we have tried dating but being only long distance is tough so we cut it a bit early. Now when we play with some friends we used to share i get jealous with how they act with her. I get i shouldn't care because she is her own person and we aren't even together anymore and im alright with that but the feelings won't go away. How else could i try and not be so jealous when she's with certain people?
How do deal with being jealous?
Add Opinion