Maybe you are going through some kind of stress in your life which is not letting you sleep. This is normal because it happened with me also a long time back. Sleeping pills can be helpful for some time but not always since they are a temporary solution. You should try to be relax and happy in your life. Try doing meditation or yoga to help De-stress yourself from problems.
If this doesn’t work you need to consult a doctor regarding this issue.