How do you maintain your hair at night!

What's the best way to keep your hair from getting frizzy nappy tangled