threw up ??

I took a plan b pill & I ended up throwing up. Will it still work? I didn't see the pill when I threw up so idk