I'm scared I could be pregnant?

I take all my pills on time and I never threw my pill up but last month before my break week I had loose stools. I decided to just stop having sex for the time being and hold the pills down and not vomit them up. My bathroom trips weren't bad but my stomach was killing me. Towards my break week I felt better and started having condomless sex, My break week came and i got my period. Does that mean I was okay and I was protected? I had sex during my break week and now people are telling me I wasn't protected? I even waited over 8 pills to start being active again.