Some worries

Last year I was about 3 almost 4 months pregnant and I lost te baby an have a fear I can't get pregnant again. Will that effect me