Just practice it. Solve problems & solve problems & solve some more problems.
visit my another blog :
How to practice a particular topic?
What should I learn next?
What platform should I use?
How to train for a particular competition (IOI, ICPC, GCJ, etc.)?
Thank you so much for reading my blog :)