How did you stop thinking about your ex?

I went through a bad breakup 2 weeks ago. No I don’t call him or text him or want him anymore. But how do you stop thinking about them? I blocked his number and blocked him on fb. Deleted all photos. Still thinking about him everyday. Help.