Caffeine has disruptive effects on sleep, so people with sleep disorders are recommended to nix this habit completely. But if you find it's too hard to achieve, try drinking it earlier and cutting down on your portion.