Will this harm my baby?

So I have been very emotional my first trimester, overthinking, crying, and some times a bit stressed but not all the times. I have mood swings. Can this affect my baby? Someone told me that it can cause the baby to later develop problems..