If your afternoon coffee is leaving you wired at bedtime, try swapping one cup...
https://research-wiki.win/index.php/How_soon_do_caffeine_withdrawal_symptoms_start_after_I_stop_coffee%3F
If your afternoon coffee is leaving you wired at bedtime, try swapping one cup for matcha or rooibos. Matcha still has caffeine, while rooibos is naturally caffeine-free, so you can choose what suits your day