running and vomit

when ever i run a race for cross country i always throw up at some point during the race or after and i was wondering if anyone knows how to prevent that from happening because it slows me down and it's really embarrassing and gross. any advice would be appreciated!