Question: how to stop thinking about someone you will never see again?
Answer: Remove the things that remind you of him, like any photographs, songs, letters, etc. Stop looking at his social media, if you are. You'll always think and dream about him if you are surrounded by memories. Keep yourself busy, talk to friends, enjoy your hobbies- just do anything to get your mind off of him.