I suffer from this on and off. I once didn't get more than two hours sleep a night for several months due a combination of diabetes, bereavement, work stress, anxiety ,surgery complications etc.
1. Keeping bedroom only for sleep and other such activities.
2, No laptops, kindles, ipads, phones...