Once you will have mastered several cords retain mastering further and further. Then that you may start to use transformations of those cords to play songs you recognize or write new ones. This is some of the steps in studying how you can play guitar.