How to get over a long time crush?

Its been years actually since I liked this guy and I can't shake the feeling that I like him. Its hard to ignore him when he constantly stared at me over the years wondering what I should've or could've done. But I know that opportunity is long gone considering he moved away now. So any kind of insight what I can do besides focusing on another guy because I have tried that in it never worked..