Insomnia is typical disorder for a person who has a bad sleeping habits. Sometimes they were associated to a some kind of decease. Others correct their sleeping habits to change it. Some will drink different pills to temporary lessen the effect of insomnia and be able to sleep on the exact time they want to sleep. But to totally remove insomnia is still a question mark. Many people said that they don't have insomnia but experiencing difficulty to sleep when they want to. For me the way to fix this is prevention or awareness. If you know that the you have this kind of disorder avoid to much caffeinated drinks, lessen the amount of things that will make you think too much before going to sleep and lessen the amount of food intake before sleeping. Lastly relax your mind, if playing ocean music or music of the forest will help you calm, do it. Don't dwell on the scenario that you are experiencing insomnia then you get irritated. Help yourself. Doctor and medicines are not always the best solution, sometimes it's just ourselves.