Learn a lot of others solos too. There's a whole bunch of 'standard' riffs that have been around for ages and even if you don't use them in your own solos, it's still good to know them. It's also good ear training to learn solos from CD's etc... Like, trying to figure out how a solo was played and what strings and frets were used.