One thing that a lot of guitar players struggle with is learning new songs. Memorizing solos, riffs, or even just the chord changes can be a real chore if you're not going about it in a way that works for you. I said works for you, because there are indeed different styles of learning. That said, I can tell you some ways work better than others!
For instance, learning and memorizing riffs can be a huge chore if you don't have any context in which to place them. At that point, they're just notes on the fretboard, and gee, I dunno why they work together, but they sure sound good!!
That approach is doomed to be slow and tedious.
Now - start out by learning a scale pattern or two, and then when you learn a new riff, you have something to hook onto, and things are so much easier!
Think of a scale pattern as having a shelf system in your closet. Without it, you're just tossing stuff in there, and let's hope you can find it again when you need it! With a system, everything gets placed in an orderly fashion, and you can access and use things as needed.
Roughly speaking, that's what scale patterns do for you on the guitar.
My Guitar Scale Patterns course will show you exactly how to do that.
Once you've learned how the patterns actually cover the fretboard in a logical manner, you'll be surprised how you can learn a new riff, then make it your own by moving it elsewhere to new keys or different octaves, as needed. Cool stuff!