Bringing up "the talk" with daughter when?

A.💕
At what age did you talk to your daughter about periods and such? And did you bring up sex too or wait for that conversation? I want my daughter to be prepared and knowledgeable but I don't want her to lose her innocence too soon either... She's 8 will be 9 in January she isn't showing any "signs" of hormonal changes that I can really notice her attitude is kinda off I think that could be because of hormones but she isn't yet having breast development or discharge...