How manage #NUM! condition?

Hello,
I have a formula that returns #NUM! condition.
How can you manage this condition?
As a string? As a constant? :man_shrugging:

~P