Ineffective if I vomited?

Madison
So i took my pill at 6:30 yesterday and ended up throwing up because of a migraine at like 9:45 last night. Would this have made the pill not work and should i be concerned?