All I did when I was learning how to program was learn most of the basics. If statements, try's, exceptions, how to declare variables, arrays, and a few other things. After that I just started researching when I got stuck and it would always drag me into something else thus helping me learn more and more.