Well, as an adult, you probably don't want to hear from me, but a healthy amount of self reflection will go a long way. When you make a mistake, think about it. What happened? What went wrong? How can I avoid this in the future? As long as you can look critically at your actions, you can learn a lot about the situation and how you reacted to it.
It helps to discuss problems with someone, even if they aren't an adult. It helps with getting different perspectives, because we all have blind spots.
If you're determined to go it alone, I at least recommend Rubber Duck Debugging.
I couldn't tell you how many times this technique has helped me work out what was wrong my code / problem. The majority of the time it's something simple.
save