Please help ladies !!

I had unprotected sex last night . I am on birth control (the pill) but due to some side effect problems my doctor had me switch back to my old birth control that I was on. So I was in the middle of my old pack and started the new pack right away. Should I be okay? Or is it a bad idea to risk it since starting a new birth control is supposed to take a while to kick in and be active ..