However, there is another reason that we play some notes that don't work when improvising. The idea that any notes work so long as they are from the right scale is great in the beginning. However, more professional improvisation always takes into account trying to match the chord that is being played over and the musical feel of what is being improvised over.
Tips 6 - Listen to the track while you play and react to what you hear
Any hit points, musical phrases or stops in the song or backing track should be matched by what you improvise. Should you play more or stop during a silence in a track? This is not only tough, but always comes down to taste, experience and musicianship, all of which are only learned, trained and acquired by months and years or improvising.