Memorizing vs Improvising vs Playing by Ear

 If I'm playing along with someone I'm generally improvising but if the song has some complicated changes I could hit a sour note so...