i have trouble learn guitar solos on my guitar. i have been playing for 3 years but i still have trouble.
Are you alternate picking? This is a major flaw of many inexperienced guitar players. You can play twice as fast with alternate picking. Are you holding your pick at an angle? This helps the pick to glide on the picked string easier so you play faster. Weather you make the angle toward the fretboard or toward the bridge is not important.
Here’s a few things you need to look up on youtube or Google:
Sweep/economy picking, pinch and natural harmonics, tapping, arpeggios, major minor diminished whole tone pentatonic and diatonic scales. Focus on major and minor but don’t neglect the others.