Did the pill work?

I just took a plan b but I threw up about 20 mins later, I’m not sure if I threw up the pill???

Anyone please