If your afternoon coffee is leaving you wired at bedtime, try swapping one cup...
https://bizzmarkblog.com/is-it-smarter-to-swap-my-second-coffee-instead-of-my-first-one/
If your afternoon coffee is leaving you wired at bedtime, try swapping one cup for rooibos or a gently spiced golden milk