How to cope with insomnia