Vomiting and the pill?

So yesterday I ate something that did not go good with my stomach at all (xx hot cheetos 😒) and I threw up. I take my pill at midnight everynight & yesterday I threw up at around 10:30 pm. So about an hour and a half before my next pill was due. Then I took my usual pill at midnight. Should I still be covered?Â