How to get over a guy?

The guy I like likes a girl who doesn’t live in the same state. When he is with me he tells me he likes me but he has told me that he likes this other girl. I’m confused and heartbroken 😞