I'm not very good at solos, but what I usually do is start by knowing the chord progression behind the solo. If you know that, then at the very least, it should guide you as you go through the solo....especially since most solos are just scales off of those chords.