Why aren’t my prayers answered?

So long story short I had this somewhat bad relationship with this guy but yet good in a sense. But we broke close to 7months now and my mind is still on him! We don’t talk or nothing. I prayed about it..ask god to remove him from my inner thoughts and all that but nothing! I even dream about him. I also prayed for a new relationship..nothing. Sigh..I don’t know. Am I doing something wrong? Why hasn’t he answered my prayers?