Whether you think you can or think you can't, either way, you are right. ~Henry Ford
If you genuinely set out to accomplish something, do you expect failure? If so, why even begin.
Success or failure is a foregone conclusion. If you expect positive results you will work toward those and not stop until the mission is completed. If, however, you actually expect failure, at every obstacle you convince yourself all the more that you are destined to fail.
Most people who constantly fail see it as destiny. They expect failure.
Whenever you start some new venture, no matter how big or small, tell yourself that you are a winner and imagine your successful conclusion. Don't be foolhardy about it. Do your homework. You should know what it is that you are trying to do and what is needed to accomplish the task. The Internet makes that part much easier than times past. You have a vast library at your fingertips, literally.
Make a check-list as you prepare to launch your endeavor and follow through with all of your preparation. Keep your thoughts positive and go through every step in your mind from the onset.
Make sure you plan interim goals so that you can actually see and measure progress as things start to gel. Remember, if you fail to plan, you plan to fail.
Be ever mindful of what Henry Ford said, "Whether you think you can or think you can't, either way, you are right."
Now, it's all in your head.