Wrong notes are welcome as long as we can resolve them into the harmony that was given. In fact, the whole purpose of the style of jazz known as bebop is to do exactly that with improvisation.
Why do I keep playing the wrong note?
Something else that can contribute to hitting wrong notes is inconsistent fingering when playing. You should be using the same fingering every time to play a piece, assuming the fingering you've chosen is efficient.
When you hit a wrong note its the next note?
Miles Davis Quote: “If you hit a wrong note, it's the next note that you play that determines if it's good or bad.”