pill and pregnancy

if I forgot a pill and had sex that day with my bf cumming in me too. I never missed a day and I been on the pill for over a year now. this happened on the 5th I been taking my pill as normal now but the question is if i am pregnant did I hurt the baby by still taking the pill... I'm taking a test when I get away from family or is it too soon to take a test? I'm supposed to start my period in two days as well.