What to do for self motivate in programming ?
Program even more, and please write comments as much as possible. It will save you a lot of time when debugging. If you are stuck go back to the drawing board and look at your objectives
Decide. Learn. Execute. Decide what you want to do or create then learn the correct programming language to create your brilliant idea and then execute it, bring it to life and share it with the world.