Dreaming that the hair is messy implies that misfortune will befall future generations.
Dreaming about pulling hair is to reduce the psychological burden by dreaming.
In dreams, hair also represents trouble; In my dream, my hair was broken and my troubles were gone.