How do you do it

So I’m single, have been for about 5 months now.. how do you get over someone you spent 4 n a half years of your life with? We’ve got a 2 year old and I’m currently 6 1/2 months pregnant and I just can’t get over the feeling of hurt..