BC pills & throwing up

A

Hi guys! Just have a quick question,

I take my birth control around 11:30am... I wasn't feeling good and threw up around 6:30pm. Will it still be effective?