Serious defect missed during inspection

How to deal with faulty stairs