if you want to jam well with others you need to study theory. notes scales chords keys. make some flah cards and just wait until its all in your brain.
"Octaves full of voices, sweet voices belie"