Pratice them. Learn the relations they all hold to each other. (i.e., if you're playing in C dorian, you can move one step up to D phrygian.) Eventually, learn the relationships between all the scales on the neck. You'll be able to solo anywhere.
(That's it in a very basic nutshell)
|