Don't freeze just to try to avoid hat hair. Style your hair as usual, making sure it is completely dry; no damp ends or neck lines. Spray a bit of a dry spray like Rusk W8less to the roots. Using a bit of double-sided tape, put half a dryer sheet inside your hat. When you take your hat off, you won't have static. If your hair has flattened out a bit, warm your hands and run your fingers through your hair massaging your scalp. This will reactivate your styling products and spray. Your hair will look good as new.