The ideal solution is to remove the hazard entirely. If that's not feasible, consider replacing it with a less hazardous alternative.