How to protect hair while at practice?

So, I do Brazillian Jiu Jitsui (similar to wresting, if you've seen ufc its similar to that minus the boxing). I keep my hair in a bun but I feel thats not enough. After practice my edges are frayed and stick out from rolling around and I'm afraid BJJ will ruin my hair. Any suggestions?