What’s the best way to cure insomnia during pregnancy?

I’ve been suffering from insomnia during pregnancy for a couple months now and I want to know what the easiest way to cure insomnia during pregnancy is. I’ve taken those herbal remedies like Sleep-MD and they don’t seem to be much of a cure for insomnia. So what are my best options for curing insomnia during pregnancy?