I'm a lower order batsman with aspirations of being able to bat higher but yeah, I had a run earlier in the season where I couldn't buy a run and I just kept overthinking it. Went out there telling myself "Don't throw it away, don't throw it away, play yourself in, don't throw it away". Tapped a second ball full toss back to the bowler.
So then it became "To hell with being defensive, just smash it". Walloped the first ball straight into the hands of deep extra cover.
Didn't score any runs until one day where I was so fed up that I basically didn't care anymore, walked out to the middle whistling whatever random tune was in my head and my head was clear as a result. Got 32 and 25* in the last couple of games, not a lot for some but it's a lot by my standards, and it's basically because I'm not thinking about anything other than the voice in my head telling me to reverse sweep every ball. Making a concerted effort to watch the ball helps a lot, when you're focussed on the ball before it's left the bowler's hand it stops you from being preoccupied with other thoughts and everything kinda takes care of itself.