Mommy of a preteen looking for advice

Amanda • Wifey. Mommy. Boss.
I am 29 and my baby girl is ten. Her body is starting to change. I never had any sort of talk with my mother. I have no idea how to talk about things with my daughter. When and how do I bring up periods? Sex? Protection? Just looking for advice! I don't want her to resent me like I do my mother...Help!!