Your post sounds almost identical to my situation when I was 8 weeks pregnant. I was engaged and over the moon to be pregnant, but my XP broke it off and I was totally heartbroken. I too was really scared that being so upset would be harming my baby.

I'm now 39+2 weeks pregnant and am doing much better. The heartbreak of the relationship ending gets better, and as you start to feel your baby move, hear the heartbeat etc you will fall in love with your precious child and it will get you through. His/her heart beating will help mend yours.

I still have tough days, but I have to say, I no longer doubt that I can do this on my own, and more importantly, do it well.

Allow yourself to grieve, but always try to focus on the positives. Life is too short and too precious to let others dictate how you feel. You and your baby will do just fine