Quick question

If I take a pill at 12 pm

I swallow it then I drink a whole bottle of water .

Right After drinking that water I burp and a little water comes up

Does that affect my pill or would I have to actually puke