Dumb Question

So I was wondering if the effectiveness rate for the birth control pills is for if he cums inside you or for things like precum?