Guitar is one of the easier musical instruments of the rock, pop, blues and folk genres to learn. It’s the muscle memory that you develop in your fingers that let you play the chords and scales. It can also be thought of as creating geometrical shapes, or like plotting dots on a graph. It is also very visual and transferable; the fingering for a chord or a scale that is played on fret three will look identical if played on fret five or nine or anywhere. The tough part about learning to play the guitar is the transition from one shape to another and keeping the constant pulse that is present in all music.
Being musical on any instrument requires practice. Slow, meticulous, repetitive, boring practice. 10,000 hours of it to be considered a master, I’ve read. Then after that it’s maintenance, hmm, I honestly think all playing is practice, Gigs, rehearsals, showing off at parties, whenever. To make your practice more effective and expedite some of that 10,000 hours towards say a better solo, licks and hooks, or catchy chord movements, you can always take lessons with a real live experienced teacher. Online lessons from Youtube can help but often start in the middle of a lesson and can make frustrating assumptions about your understanding. Either choice needs a clearly explainable curriculum. But in the meantime go practice.