HELPPPPP

I had a dream... a really good one where I had sex with my best guy friend. As of right now I'm single. He's taken and going to move away soon. But the dream was so amazing and realistic, and so good I can't even use words. But I woke up crying. No idea why? The whole day I can't stop thinking about him and the dream. I just want to stop thinking about it at this point. Because it will never happen. Any help? Tips? Personal stories?