threw up after taking pill

hey I have a question that is too elaborate to Google. anyways, also please don't judge I'm seeing a Dr soon, but I felt the need to ask here. so, I started the combo pill 2 weeks ago. took it for 9 days straight then I threw up a little after cause I took kratum and it made me sick. anyways today is 4 days since that happened and I've had unprotected sex. I am wondering will I be protected? I didn't take another after I puked cause I assumed it had been digested but idk. I'm so paranoid. and my bf says he will be here if the worse scenario happens. but I still don't want it to come to that! please comment what you think. also I'm seeing a doctor soon so I'll get pregnancy tested then. thanks :)