If you have insomnia, you may lie awake for a long time before you fall asleep. You may sleep for short periods and spend much of the night awake. You may wake up earlier than you want to.