I play soccer, i just tie my hair in a high ponytail with those tight elastic type hairties.
You could try putting your hair in a bun in a net thingo so it won't come undone. You could also wear one of those jumbo clips under your the ponytail so it won't fall down.
Hope this helps :)