When something doesn’t work: that’s new information about what isn’t effective, what to try differently, and what not to do next time.
When something does work: that’s new information about what is effective, what to pursue further, and what may be worth trying again.
Success, or “failure” — unexpected or as planned — each observation yields new knowledge that you can use to upgrade your understanding of the world.
You are always learning.
related post: the case for tinkering on purpose