I started master swimming in my 20s and had no problem with flip turns, improving technique and confidence over time.
Suddenly at the beginning of this swimming season I developed a fear to turn at the wall as it was too close and get hurt. I either flip farther from the wall and miss to plant my feet to push or renounce to flip and go for an open turn. Things get worse when I'm doing sprinting sets. As the wall approaches I get very anxious with a feeling that it's too close to turn safely. I'm definitely overthinking it.
What can I do to gain confidence back? Is it something that happened to other swimmers?