effective?????

How effective is birth control? It's my first time using it. Will it be as effective in the first week if my boyfriend cums in me or will it only work after some time of using it?