Could I be pregnant?

I've been on the pill but I missed a few and I've been having unprotected sex and my boyfriend hardly pulls out. I had my period but it was much shorter than usual and a lighter color.