You will need to go easy with your stress levels, and follow a schedule for your balanced diet, regular exercise, adequate sleep and stop smoking, alcohol and coffee if any.
Insomnia could be due to various causes like excess noise, too hot, stressful situations, anxiety depression. it may be secondary to chronic pain syndromes etc, acid reflux disease, etc, related to any medicines that you might be taking like anti asthma, stimulants, anti hypertensive, etc.