Practice playing along to C7 using The Dominant Scale.
Use your creativity to discover what lines you can play over the chord. To train your ear, make a conscious effort to internalise the sound.
If you’re experiencing difficulties coming up with new ideas, my books are filled with several variations on how to play intervals, scales, melodies, and more.