Magnesium helps with that as well [1] (see my comment above in this thread). In general, magnesium is involved in lots of biological processes, but especially those involving hormones.
If OTC magnesium citrate upsets your stomach, maybe try the other variations. I settled on magnesium glycinate lysinate. (Cheaper than magnesium orotate, which also worked for me.)
[1] https://pubmed.ncbi.nlm.nih.gov/33030273/