The best way to learn programming is by doing. Although taking the first steps into a world as large and complex as software engineering might seem daunting, the best approach is to start small and build on your knowledge as you progress to more complex tasks. There are a number of both free and paid resources available on the internet for the beginner programmer which can help them make a start, improve the skills and learn new languages and techniques.
Initially you will need to learn the language and syntax of computer programming and reading books in the area is a good place to start. Next you should practice with small hands-on exercises that will solidify what you have learned and then put these together into small programs that solve a particular problem. There are many courses and video tutorials available on the internet that can help with this process.