Threw up pill

Hi So last night I was feeling nauseous. I took my pill at 7 last night and threw up around 10:50 last night. Do u think the pill absorbed or do I need to take another one? How long does it take for a pill to fully absorb?