The best way to prevent your hair from snagging on something (which can cause tangles and split-ends) while you sleep is by piling it on the top of your head in a loose bun or ponytail and then sleeping on a satin pillowcase. For even more protection, you can wrap your hair with a satin or silk scarf.