am i getting pregnant?

I had sex last night. We were going to ckeck if the condom was still on, but it wasnt. We think it went off when he got out of me, but we are not sure. He didnt come in me or in the condom. I've taken the morning after pill, today, just to be on the safe side, but im still scared! Am i getting pregnant?