Birth control & plan b

Okay y’all so I need some advice. I just started taking birth control (the pill) four days ago. My fwb usually pulls out ,but for whatever reason didn’t this time 💀 I took a plan b cuz i don’t want no babies rn. Also, I didn’t know if my birth control was effective yet. Cuz I’ve heard it take 7-15 days or even a few months to be effective. Was this the smart move ?? Helpppp