How do I treat insomnia?

Depends. Depends on if the insomnia is due to stress, psychiatric disorder, a primary sleep disorder, another medical condition, medications or poor sleep hygiene. The best treatment is addressing the reasons for the insomnia. Chronic insomnia is best treated with a behavioral program called cbt. Medications are usually indicated for short term use.
Variety of ways. If you search online for "sleep hygiene" you will probably find some helpful tips to improve your sleep. There are also a variety of medications, both over-the-counter and by prescription, which can help.

Related Questions

How do I treat insomnia? I'm dying to have a good night sleep.

Insomnia means. You are having difficulty sleeping. Often it is due to stress and the inability to let go of worries and sleep. In addition to medications there are relaxation techniques and sleep rituals which can help you relax and get a good night's sleep. Speak with your physician and consider meeting with a psychologist to learn relaxation techniques. Hypnosis is easy to learn and a quick way to get relief. Read more...
Good sleep hygiene. 1. Keep regular bed & wakening time (even weekends). Get up same time daily. 2. Use regular, relaxing bedtime routine: warm bath / shower, aromatherapy, reading, or listening to gentle music. 3. Sleep in dark, quiet, cool room w comfy mattress & pillows. 4. Bedroom only for sleep & sex. Put work materials, computers, & TVs in another room. 5. Finish eating at least 2-3 hrs prior to bed. > Read more...