It may be helpful to try and identify whether the insomnia developed with the depression or if they are separate. Effective treatment will help ease both problems and there are a number of ways including drug therapy, psychotherapy, and mind/body therapies that can help recovery.