Cloth diaper tips

Paige • 👨‍👩‍👧‍👦
I was gifted some cloth diapers for our first baby and I'm not familiar with them at all! Looking for any tips on washing especially. Detergents, stain removal, I've even heard people 'sun' them? What does that do? Any advice would be wonderful. Thanks! 😊