sleep problems

Elaina
So I have to take melatonin every night to go to sleep or I won't sleep at all. But whenever I'm on my period it never works. It doesn't matter how many I take it doesn't work. Does anyone have any suggestions on why? And what I can do to actually fall asleep why I'm on it?