birth control question

If he came a little inside you, and you're on birth control are you still protected?