How do you get over someone you know you can't have?

How do you move on from someone you know you can’t have? It’s not because there is another person or anything. You just know it won’t work out between the two of you.
How do you get over someone you know you cant have?
How do you get over someone you know you cant have?
How do you get over someone you know you can't have?
Post Opinion