1. Practice a lot
Like in a physical exercise, results will come with time. Be patient.
2. Ear is the key
While you practice chords, warmups and scales you are educating your ear. And that's the way.
3. Have a Guitar Hero
Try to play what your idols do. But don't get frustrated, it took some time for them to perform like that.
4. Dive into music
Go to concerts, watch documentaries, read magazines. You have to be part of it.
5. Play in a band
When you play with others you get a big picture of the songs. It will be a turning point.