In order to properly treat and cure your insomnia, you need to become a sleep detective. Emotional issues such as stress, anxiety, and depression cause half of all insomnia cases. But your daytime habits, sleep routine, and physical health may also play a role. Try to identify all possible causes of your insomnia. Once you figure out the root cause, you can tailor treatment accordingly.