After you’ve worked on all the chords, scales, techniques and rhythms, the most important thing is knowing where and when to use them. This will usually depend on what the other instruments are playing. If you are not sure what to play, you can always get ideas from what the bass and drums are doing. When you are playing with other musicians, the most important thing is to listen to each other and try to respond to each other.