Help with mate

hey guys, so I just started drinking mate the traditional way and ive realised that i get really jitterry and cant sleep when i drink it, any tips to help me out?