Melatonin and Birth Control Pills?

I’ve been having trouble sleeping and having the worst nightmares; so bad that they continue to bother me throughout the next day and it’s been giving me anxiety. Anyways, I was going to try taking melatonin (3mg) but I’m on birth control and was just wondering if it would decrease the effectiveness of my bc