How to get over someone who doesn't want you?

I never thought I would be this girl but I think I've falling hard for this guy but he plays this wanting me one day then the next pulling away. I just want to get over him anyone been in my situation ? Please help this is hard!