No, most forms of birth control [are not effective immediately](https://www.bedsider.org/features/142), so you want to check with you doctor before having unprotected sex. Until then, use a condom for added protection.