Sleep aids

Precious
Does anyone know if it's safe to take melatonin and 5-Htp (tryptophan) when trying to get pregnant? I take them for insomnia but I also read that melatonin can help with egg quality.