Get guidance from a good tutor or with utmost dedication, self-learn how to write source codes in a specific programming language. You can also join a group of friends with similar interests and study coding with them. If you have time and money, you can enroll in a programming course.