I am currently working on it. Cutting caffeine didn't have much impact on my sleep. Meditating and taking a long walk kept anxiety levels in check that helped me sleep better. Further reflections here: http://avichalp.me/2019/04/06/debugging-sleep.html