Plan B

I took plan B today around 1:45pm. And I was feeling really nauseous so I end up vomiting less than an Hour after taking the pill. My question is... will it still work. ?