Just starting

Hanna
I've been on the pill for a few weeks now, and my boyfriend and I have almost always used a condom or at least put one on before he comes, but I'm scared I could still get pregnant. How long do I have to be on the pill until it actually starts preventing pregnancy?