If you tend to be overweight then many other conditions also appear such as sleep apnea. Excessive snoring which can waken you up, as well as the rest of the household, is also common. The answer is to lose weight, many people who were overweight and believed that they had insomnia were pleasantly surprised to note that the symptoms associated with insomnia disappeared at the same time as the excess weight.
Some people with sleep disorders will have to go and talk to a medical professional. Sometimes the answer will be medication but for many more the solution is to re-train their bodies and minds to allow themselves to settle at bedtime.