Dreams about my ex?

Every single night I have a dream either giving me an excuse to see my ex or him texting me saying he wants me back. I just din understand because when he broke up I was crushed but I am over him now? Any advice?