That appears to be an ear infection or abscess. It can be bacterial, viral, fungal, or from mites. I would get some hydrogen peroxide, QTips, paper towel or tissue, and plain Triple Antibiotic Ointment to get to work on cleaning out the ear. Here is a good article and look for the post #4 by @dawg53 : https://www.backyardchickens.com/threads/ear-infection.767500/