Why is My Ex Haunting Me in My Dreams

Every time I find someone I like, something goes wrong. In the midst of all, I keep seeing my ex in my dreams even though I don’t even think about him.