Play it by ear
If you play something by ear, then you decide how to act or respond to a situation as it happens, rather than by planning in advance how you are going to act.
If you do not respond or act well, you could be "out on you ear". This means you have suddenly been told to leave or been dismissed from a course, job, or group.