Dumb and scared

So recently my period had bee off this months. I had 2 periods this months 4 days apart from each other. Well I looked on my schedule and it said I wasn’t fertile and my and my boyfriend don’t use protection when I’m not fertile (dumb I know ). Well we were having sex and I wasn’t expecting to finish because I never have with just having sex... well I did when he was in me and now I’m scared. He didn’t finish in me but after that we used a condom since he wanted to finish. Now I’m scared that since I finish, his pre cum is going to get me pregnant and now I’m freaking out because I never had time to get the pill with me working all the time. Usually with something like this I always buy a plan b pill so now I’m scared and nervous since I never had a chance.