could I be pregnant

So I had sex last week. ( I'm on birth control ) and on the day I had sex . I fell asleep and I took my pill EXTREMELY late 😭 is there a chance I could still get pregnant. I threw up 2 days ago. I was told if your throwing up on birth control , it's not effective . I'm confused .