I will answer this "generally" because I don't know your playing background. To improvise great sounding solos you want to study scales first. Pentatonic scale forms are usually the first scales most guitarists learn. They are "easy" to finger and memorize. There are hundreds of books and youtube videos out there you can check out, however, the most efficient use of your time is to take a few lessons with an experienced lead guitar player.
Pages 1