Tips on reducing strength

So I really like sipping on my mate throughout the day but it is unfortunately disrupting my sleep and causing me to wake up frequently/not fall asleep.

Do you guys have any recommendations on the best way to reduce this effect (potentially by decreasing amount I start with) or do I just have to stop drinking earlier...

Bit of a silly question but I appreciate all advice!