Not all earbuds can be repaired. Especially cheap earbuds can’t be repaired. Branded earphones can be repaired if they have only software issues.