Fionaw that happened to me a few times with DD3 as well.
I used to try to hold the vomit til I wee'd, or have a shower straight after.