How do you gain a man's interest back?

We been dating for quite some time but he's been talking to another girl. Since beginning he said we can date other people. He just been talking to me less so I'm wondering whats the best way to lure him back without looking desperate or stupid?
Updates
1 y
I want to thank all of you for being honest and opening my eyes. I realized there's no point trying to get a man attention if he clearly doesn't want anything to do with me. He treated me so bad that I was getting miserable and felt like I was walking on eggshells. I decided im going to move on and been seeing a good friend for support. So far I been feeling really better because I know I deserve better and he's a toxic person. Its getting weight off of me feels good
How do you gain a man's interest back?
Post Opinion