Sorry to hear about your chicken’s eye. She may have been pecked or gotten some debris stuck in the eye and it got infected. The infection could’ve moved to the ear. Or the opposite could’ve happened. It’s hard to say.
The eye looks a bit crusty, if it is sealed shut, use a warm compress to loosen the crust. Try to open it and check that nothing is stuck in it. Maybe you can see a peck or puncture mark? Check the upper and lower lids for pus or debris. You will need to remove both if found. Flush with some saline. If you have or can get terramycin ointment apply to the eye twice a day. It is found at most farm supply stores. If you can’t, triple antibiotic ointment without pain relief, such as neosporin, will work, although terramycin is the ointment of choice for the eye.
For the ear, you can use peroxide to flush it. Let it bubble in her ear for a minute. You can then gently use Q-tips to try to remove any debris or pus that the peroxide flushes up from the ear canal. After that is done, apply triple antibiotic ointment without pain relief to the ear and ear canal twice a day.
Keep an eye on both the eye and ear for any more swelling and additional pus that will need to be removed. Let us know how she does.