Pregnancy and BC

Does anyone know, if I take birth control pills but Missed a couple and had sex. Im not sure if im pregnant or not but I've been taking the pills still. If I am pregnant is it bad for the baby to be taking the bc pills?