Earwax, or cerumen, is produced by glands in the ear canal to help keep the ear clean and healthy. It contains mild antibacterial and antifungal properties and gradually migrates outward, taking dirt and dead skin with it. For most people, it only causes problems when cotton swabs are used, pushing the wax further in the ear canal. The best thing to do to clean your ears is to do nothing – just let your ears clean themselves naturally. If you do get a build-up, you can try over-the-counter eardrops or ask your physician to remove it for you.