Safe insomnia relief suggestions?

J
I have terrible insomnia and had to get off my medications. What is safe when you're trying or when you get pregnant? Thank you in advance!!!