Can't stop overthinking?
The Gita calls the mind both friend and enemy. Verses on steadying it.

6.5–6.6
Lift yourself by yourself
Krishna says you must lift yourself up by your own effort and never drag yourself down, because you are your own best friend and your own worst enemy. When you have mastered your mind it works for you like a friend; when you have not, it works against you like an enemy.

6.33–6.34
The mind is restless, turbulent, strong
Arjuna tells Krishna that he cannot see how anyone can stay this calm and even, because the mind is restless, stubborn and powerful. Trying to control it, he says, feels as hard as trying to hold the wind.

6.24–6.26
Bring the mind back, gently
Krishna says to drop every desire the mind dreams up, gather in the senses from every side, and grow calm little by little with patient understanding. Whenever the restless mind wanders off, gently bring it back and settle it within, again and again.

6.35–6.36
By practice, and by letting go
Krishna agrees that the mind is restless and hard to control, but says it can be tamed by steady practice and by letting go of cravings. Someone without self-control will find this hard, but anyone who keeps trying with discipline can get there.

2.62–2.63
How wanting leads to ruin
Krishna traces a chain: dwell on something you want and you grow attached, attachment becomes craving, blocked craving turns to anger, anger clouds the mind, you forget what you know, and losing your judgement, you are ruined. The trouble begins not with the act but with the thought you keep returning to.

3.42–3.43
The mind above the senses
Krishna says the senses are powerful, the mind is stronger than the senses, our judgement is stronger than the mind, and the soul within is greater still. Knowing that you are that soul, steady yourself from within and defeat desire, the enemy that is so hard to catch.