Instead of fearing imperfection in your work, embrace it. Sometimes we have to get it wrong so we can get it right. I prefer to call it experimentation.
The discipline of any creative pursuit — writing, painting, photography — requires constant trial and error. In fact “errors” are precursors to original ideas. They reveal new directions, the unexpected, a twist.