You replace them. I'm unsure what else we should do since these fans are not repaired.

PS. In decades, cooling fans have not been a software or setting issue. Some PCs allow speed control but that does not fix old loud fans.