When you cannot sleep use the time for dhikr. The Prophet said this phrase is light on the tongue but heavy on the scale. A sleepless night spent in Allah's remembrance is not a wasted night but a profitable one.