Birth control - Sprintec - throwing up and discharge

I started the pill on the 24th and noticed a lot of creamy white discharge on the 27th

Does that mean I’m protected already? (I know not from STD’s but from pregnancy)

Last night I took my pill and fell asleep and woke up 5 hours later and threw up because I’ve been having a lot of mucus ... so my question with that is, because I threw up should I be worried about that pill? Or is 5 hours good? Meaning I didn’t mess up the pills because of me throwing up .. sorry if that doesn’t make sense