The best solution for insomnia is an alarm clock. Get up at a regular time whether you're still tired or not and do not nap during the day. Within a few days your brain will get the message that if it wants to survive it will go to sleep during the eight hours it is supposed to.