Will the pill still be effective?

I took my pill for the day and about an hour later I got sick and threw up.. Should I take another pill since I threw up, or did it have enough time to dissolve? I'd call my doctor but they're closed until Monday. Thanks ladies!