Sleep aids

Nathaly
Anybody take sleep aids to help them sleep? My fertility Doctor told me it was ok to take melatonin, but I just saw a digital pamphlet about do's and dont's of sleeping while pregnant and..... Well it said I shouldn't take any sleep aids whatsoever...so now I'm freaking out!!