In every community that is related to programming somehow, you will find a question like this one.
People want to learn, but don't know where to start, if that is your case, then read on to get on the right track.
Most often the answer you will find is to read programming books or do online courses, but this is bullshit. If you're anything like me, you're going to get bored really fast of doing/reading meaningless stuff and seeing no results.
If you must do it, do until you learn the basic data structures and how to write a hello world program, after that you will be ready for the real thing, so ditch the courses.
If you want to learn how to program, just start building your projects.
You learn information as you need them, this way you do not waste time. When you find something you don't know, you google it. Over time you will build your knowledge, all while seeing the results from your work.
This is a process that never stops, you will always be learning and improving.
Things you find super hard right now, will be trivial with some experience.
At first you will struggle to make your bug filled program work, but soon you will find yourself writing flawless code in one go.