There is no such thing as failure for those who have a positive attitude. You plan, execute, and produce results. If the results are not what you expected or wanted,
refine your plan and move forward.
Thomas Edison said he found multiple ways a light bulb would not work before he found a way it would. But from every experiment he learned something and moved forward until he achieved the result he wanted.
Do the same. Plan, execute, and measure your results until you achieve the desired results. Do it over, and over, and over and never stop. This is what it takes to achieve worthwhile goals.