There's no way to gain experience in something if you don't embrace your mistakes. Sometimes people jump into something, feel imposter syndrome, and don't give a second chance to whatever it is they were trying.
It's inevitable to feel this uncertainty, but once you put your head down and keep trying, you'll figure out different ways of going about it until you eventually become successful or pivot to something you'll excel in!