Help meee

I’m 16. I take my BC at 10 pm every night on time. So last night I took it at 10 and woke up 6 hours later at 4 and threw up. (Guessing I have the flu or something) does that mean I threw up my BC pill??? What do I do.