Hair question

So I plan on enlisting in a couple months, but I cant put my hair in a bun to save my life. I know theyll probably show the girls at basic or something, but what do you do with cowlicks and fly aways and all that? I went to a salon where they dyed my hair and totally fried it, I have some strands of hair that just completely broke, and arent long enough to stay in place in a hair tie. I know theres far more other things that are more important, but this has just been bothering me and on my mind and I tried watching some YouTube videos but it didnt help.