horrible nights sleep

Ma
I'm not sure if this is because of stress or hormonal imbalance but in the week leading up to my period it becomes almost impossible for me to sleep. I either sleep on and off for a few hours at a time or get too hot ( our room is freezing at night because it's the dead of winter) or have nightmares... I have no idea if it is related to my upcoming cycle or is caused by stress but I'm getting very annoyed with constantly being tired due to it. I take a low dose of melatonin which usually works fine but not this week so far 😩 anyone have this problem as well?