Vomiting only affects the pill if you throw up within 3 hours of taking a pill. 5/6+ episodes of completely liquid stool within 2 hours of taking a pill counts as a missed pill. Multiple episodes of completely liquid stool every day for several days in a row will affected your protection too, if that’s the case then use extra protection until you’re sure you’re definitely protected by the pill.