I’m not a lead player by any means, but have tried my hand at learning a few solos. Two things that were important to me:
-
Learn some lead guitar basics first (as @Richard_close2u is implicitly suggesting above). Minor pentatonic, played at a decent speed with alternate picking. Learn some common melodic figures, i.e. licks. I did this by following Justin’s Blues Lead modules.
-
When you are ready to attempt a solo, pick something easy! I did a lot of googling to find suggestions for easy solos. The “solo” from Wonderful Tonight is basically 2 licks. It’s a good starting place. The first “real” solo I learned was the solo from Let it Be (album version). It’s basically C major pentatonic (same shapes as the Am pentatonic that I had practiced a lot) and it’s not too fast or tricky. Plus, it’s an awesome solo.
So, my tl;dr advice would be: get some lead guitar fundamentals down first, and then pick an easy solo to start with.