getting sick while on the pill

I take my birth control pill at around 6 every day. I took it at 5:50 pm and got sick and puked at around 9. am i still protected? this was on Saturday night and I had sex sunday morning.