Doctor explains how hormones control your period