This depends on how often you use them and how you store them. If you use your earbuds daily, you’ll benefit from cleaning them about once a week. Athletes should really clean their earbuds after each workout, and it’s important to let your earbuds dry out before returning them to the case.
Learn more about how to clean your earbuds here.