Vomited after the pill

Ive been on the pill for about 3 months now and it works perfectly, but last night i took the pill at 7:30 and 4 hours later i was vomiting from alcohol is the pill still effective or do i have to wait 7 days for it to start working again???