Find the root of the song. For instance, if the chords are "C-F-G-C" or something, odds are that song is in C major. So play the Cmajor scale. Then, if you want to incorporate arpeggios, you can do the arps from the various diatonic chords of Cmajor. C, Am, Dm, Em, F, G, etc.