Confused.

So i recently had a non viable pregnancy. I didn’t know until I was about 2 months pregnant so I was steadily having sex and not being protected with my child’s father. Could I get pregnant still.