Try quickly walking away while the people around you are distracted. But watch where you are going, so you don't bump into someone on accident.
[header] How to hide that you peed your pants [title] Excuse yourself from what you are doing. [step] This can be hard in a large group of people. [substeps] You will want to get up without attracting attention.