Locate the problem you're having. What obstacles are you currently facing that's preventing you from getting the right answer/ solving the problem? Locate the problems and separate them so you can deal with each one individually. Understand not just the problem, but what caused the problem.e
Understand the obstacles thoroughly. Research the obstacle and use that research and newfound understanding to remove it as an obstacle. What must you do differently to prevent yourself from failing in the same way as last time? Understand what caused the initial failure before you try again.
Attempt the problem again. Keep in mind the research/practice you did in step 2 to ensure you don't repeat mistakes. Remember! It's about learning from your mistakes, not preventing failure. Fool me once, shame on you. Fool me twice, shame on me!