Sleep disturbances can occur due to several reasons. Any medical illness can produce them. Assuming you are free from any physical problems, mental illness can be the reason behind your insomnia. In such a case consult a psychiatrist. U can try sleep hygiene techniques, sleep restriction therapy, stimulus control therapy.
Next Steps
Consult a psychiatrist.
Rule out any physical illness leading to insomnia.