Use rubbing alcohol to clean your earbuds frequently. They can get dirty just by handling and can accumulate earwax.
Removing Cigarette Smoke Residue from Flat Screen...
Cleaning a Remote Control
Identifying Which Earbud Goes Where
Gift Card Earbuds Holder
Using Contact Lens Case as Earbud Headphones Case
Clothespin to Store Earbuds