Just set yourself a task. I learned by wanting an electronic logbook for my glider flying.
Trying to program that gave me many problems and questions, which one by one were all sorted out by experimenting, reading and asking in this forum.
My experience is that looking at examples is nice but once they get difficult you tend to leave them alone, whereas making your own program forces you to continue no matter how hard it gets. You want to get your program working and that motivates you just that little bit extra to go on when things get tough.
Jan