Am I still protected?

I took my bc pill at 10pm. However, I ate too much around 9 and I threw up at 11:20pm. Am I still protected?