Miscarriage?

I’m 4weeks and 4 days, this is my first baby .. things did not work out with the dad which has been causing me so much stress and anxiety.. lots of depression and crying the past 2 weeks.. could this harm the baby? Cause a miscarriage?? All the crying I’ve been doing and the stress… I’m worried