How to get over someone?

How do you get over someone you spent years with, someone you thought you would marry and have kids with?

I'm absolutely heartbroken all my hobbies were everything him and I use to do together.

Everything reminds me of him.