You can take lessons. Or you can teach yourself. A lot of people are self taught these days with the help of the internet. There are tons of sights that offer tips and tablature as well. What has helped me is to practice the things that I struggle with the most. For instance, I can fret strings quite easily, but I have a hard time holding rhythms, especially when there is percussions included in the song. Once you learn the hard stuff, it becomes much more enjoyable to play. Of course don’t overwhelm yourself by trying difficult songs right out of the gate, but songs like “wish you were here” are a good place to start because they are fairly easy to learn. I think that was actually one of the first songs I ever learned and if I remember correctly, it’s only like 2 or 3 basic chords. Good luck!