Actually, I recommend against energy drinks and similar.
What you describe is a learning curve. Everyone experienced tunnel vision when starting chess, or missing possible lines from the opponent. It gets slightly better with practice and experience. In the meantime, just try your best and try to identify why you made a particular blunder. If you forgot that the pawns move the other way, then something like this could be "fixed" by double checking your move BEFORE you play it. This is easier said than done, but taking a few extra seconds to think about your move can prevent a lot of errors and especially if the time control is long enough to allow this, such as playing a 30 min game.
Good luck with your chess, but know that you aren't alone. Everyone experienced similar when they were first starting out too
What I mean by "I can't concentrate" is:
I don't have ADHD diagnosed, nor do I think that I actually have it. But what are some ways I could improve my concentration (besides maybe lots of energy drinks and coffee)?