Insomnia

How do people cope with insomnia. I've had operation, now waiting full body scan and moving from gynae to oncology.