All of this until we learn on our own or with the help of other developers; which brings me to my one and only tip for you today:
Talk to people
Talk to people that know things that you don’t, challenge yourself. Talk to more seasoned developers, teach those who lack pieces of knowledge that you possess , engage in the communities and groups, both those that are near you and those around the world, get involved. All of this will open you doors that you didn’t even know that existed at all. Make it happen.