Ectopic

I had a miscarriage in September i just recently found out i was pregnant and I’m scared it’s an ectopic pregnancy. What are the chances. I’m so nervous.