I'll also add the braiding is great advice too, significantly less tangling because your hair isn't knotting while damp (if you shower before bed) whenever you move around. But if you wear your hair up in a ponytail a lot during the day, I wouldn't really recommend wearing it up in a braid at night too, that will start to thin out your hair significantly along your whole scalp-line.

