Birth control safety

How high are my chances of getting pregnant on the birth control pill? I’m starting it on April and I might have sex with my boyfriend a few weeks-months after that. We just want to be safe. So what are my chances?