Fail and fail often!
Reading the comments and taking inspiration from the quote I would like to add my two cents. Edison made a light bulb but he made a lot of failed prototypes before he got it right. I expect he found fairly quickly that you can't make one with an aluminum wire. That prototype failed.
if he had stopped at his first failure what would have happened then?
I fail all the time, multiple times a day. it's called experience and unless it involves a fire extinguisher it's an OK failure. Learn for every one of your little failures and you will avoid big ones. But expect to have big ones and learn from them too.