Practice Practice & Practice. Practice makes a good programmer.
If you don't get enough of programming in Office (If working) start your own side projects work on them after office hours, or on weekends.
Read code, a lot of code..Find repo/ project (GitHub) that interests you .. read its code, understand how the problem is solved.
If you need some more dose of programming start solving competitive programming puzzles.