was i unprotected?

Hey ladies! So i had diarrhea on Friday (only 2 trips to the bathroom) and had condomless sex a couple days before and a day after. My pamphlet doesn’t really say anything other than “If you have diarrhea your tables may not work as well.” The online pamphlet says “if you have diarrhea within 3 to 4 hours after taking the pill she should follow the instructions for a missed pill” i took all of them 5 hours before i had diarrhea. was i unprotected? do i need plan b?